#12439D

Closest named color: Cobalt (#1E488F). oklch(41.1% 0.156 261.4), rgb(18, 67, 157).

Aa

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

About this color

#12439D is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.156 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.029 away. White text reads best on it, at 9.06:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.156)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.31:1
White text9.06:1

Values

HEX#12439D
RGBrgb(18, 67, 157)
HSLhsl(219, 79%, 34%)
OKLCHoklch(41.1% 0.156 261.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 #12439D 9.06:1 AAA Lc -94.7 Preferred for body text
Black text on #12439D 2.31:1 Fails Lc 13.8 Not readable
#12439D text on white 9.06:1 AAA Lc 90.2 Preferred for body text
#12439D text on black 2.31:1 Fails Lc -12.1 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 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFB

    oklch(88.5% 0.05 261.5)

  4. Step 300

    300

    #A0C1FC

    oklch(80.8% 0.091 261.8)

  5. Step 400

    400

    #6C9FFB

    oklch(70.7% 0.146 261.4)

  6. Step 500

    500

    #4584F8

    oklch(63.2% 0.185 261.4)

  7. Step 600

    600

    #266AE7

    oklch(55.7% 0.202 261.3)

  8. Step 700

    700

    #1957C9

    oklch(49.1% 0.188 261.4)

  9. Step 800

    800 (this color)

    #12439D

    oklch(41.1% 0.156 261.4)

  10. Step 900

    900

    #193D81

    oklch(37.6% 0.122 261.6)

  11. Step 950

    950

    #10254B

    oklch(27.1% 0.076 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#12439D 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)#004FA00.031
Deuteranopia (no green cones)#00439B0.009
Tritanopia (no blue cones)#005A690.120
Achromatopsia (no color)#4949490.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #12439D

    #12439D

    oklch(41.1% 0.156 261.4)

  • #624500

    #624500

    oklch(41.2% 0.085 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12439D

    #12439D

    oklch(41.1% 0.156 261.4)

  • #00526F

    #00526F

    oklch(41.1% 0.083 230.8)

  • #4F3296

    #4F3296

    oklch(41.1% 0.155 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #12439D

    #12439D

    oklch(41.1% 0.156 261.4)

  • #763600

    #763600

    oklch(41.1% 0.106 51.6)

  • #4D4F00

    #4D4F00

    oklch(41.2% 0.091 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12439D

    #12439D

    oklch(41.1% 0.156 261.4)

  • #8C0F21

    #8C0F21

    oklch(41.1% 0.156 21.7)

  • #0D5B00

    #0D5B00

    oklch(41% 0.136 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12439D

    #12439D

    oklch(41.1% 0.156 261.4)

  • #831354

    #831354

    oklch(41.1% 0.156 351.4)

  • #624500

    #624500

    oklch(41.2% 0.085 81.2)

  • #005845

    #005845

    oklch(41% 0.08 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12439D 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.