#012F7A

Closest named color: Marine Blue (#01386A). oklch(33.2% 0.136 260.4), rgb(1, 47, 122).

Aa

White text reads best on this color (12.43:1).

About this color

#012F7A is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.136 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.039 away. White text reads best on it, at 12.43:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.68:1
White text12.43:1

Values

HEX#012F7A
RGBrgb(1, 47, 122)
HSLhsl(217, 98%, 24%)
OKLCHoklch(33.2% 0.136 260.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #012F7A 12.43:1 AAA Lc -101.0 Preferred for body text
Black text on #012F7A 1.68:1 Fails Lc 0.0 Not readable
#012F7A text on white 12.43:1 AAA Lc 97.5 Preferred for body text
#012F7A text on black 1.68:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C4DAFF

    oklch(88.4% 0.057 260.8)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #679FFF

    oklch(70.7% 0.153 260.6)

  6. Step 500

    500

    #3A83FF

    oklch(63.1% 0.199 260.3)

  7. Step 600

    600

    #0666F5

    oklch(55.5% 0.228 260.5)

  8. Step 700

    700

    #0055D1

    oklch(49.1% 0.204 260.3)

  9. Step 800

    800

    #0346AC

    oklch(42.8% 0.174 260.3)

  10. Step 900

    900 (this color)

    #012F7A

    oklch(33.2% 0.136 260.4)

  11. Step 950

    950

    #0A2450

    oklch(27% 0.087 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#012F7A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#003A7D0.031
Deuteranopia (no green cones)#002F790.002
Tritanopia (no blue cones)#00424F0.103
Achromatopsia (no color)#3434340.136

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #012F7A

    #012F7A

    oklch(33.2% 0.136 260.4)

  • #483100

    #483100

    oklch(33.2% 0.069 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012F7A

    #012F7A

    oklch(33.2% 0.136 260.4)

  • #003B51

    #003B51

    oklch(33% 0.066 230.7)

  • #392075

    #392075

    oklch(33.2% 0.137 290.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #012F7A

    #012F7A

    oklch(33.2% 0.136 260.4)

  • #582500

    #582500

    oklch(33.2% 0.088 50)

  • #383900

    #383900

    oklch(33.3% 0.073 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012F7A

    #012F7A

    oklch(33.2% 0.136 260.4)

  • #6A0016

    #6A0016

    oklch(33.2% 0.133 20.2)

  • #0D4200

    #0D4200

    oklch(33.2% 0.107 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012F7A

    #012F7A

    oklch(33.2% 0.136 260.4)

  • #64023F

    #64023F

    oklch(33.3% 0.136 350.6)

  • #483100

    #483100

    oklch(33.2% 0.069 80)

  • #004031

    #004031

    oklch(33.1% 0.065 171)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #012F7A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #012F7A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.