#12429B

Closest named color: Cobalt (#1E488F). oklch(40.7% 0.154 261.5), rgb(18, 66, 155).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.154)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.27:1
White text9.21:1

Values

HEX#12429B
RGBrgb(18, 66, 155)
HSLhsl(219, 79%, 34%)
OKLCHoklch(40.7% 0.154 261.5)

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 #12429B 9.21:1 AAA Lc -95.0 Preferred for body text
Black text on #12429B 2.27:1 Fails Lc 13.4 Not readable
#12429B text on white 9.21:1 AAA Lc 90.6 Preferred for body text
#12429B text on black 2.27:1 Fails Lc -11.7 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

    #A0C1FB

    oklch(80.8% 0.09 261.5)

  5. Step 400

    400

    #6D9FFA

    oklch(70.7% 0.144 261.6)

  6. Step 500

    500

    #4684F7

    oklch(63.2% 0.184 261.5)

  7. Step 600

    600

    #276AE6

    oklch(55.6% 0.2 261.4)

  8. Step 700

    700

    #1A57C8

    oklch(49.1% 0.187 261.5)

  9. Step 800

    800 (this color)

    #12429B

    oklch(40.7% 0.154 261.5)

  10. Step 900

    900

    #1A3E80

    oklch(37.8% 0.119 261.3)

  11. Step 950

    950

    #10254B

    oklch(27.1% 0.076 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#12429B 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)#004E9E0.031
Deuteranopia (no green cones)#0042990.009
Tritanopia (no blue cones)#0058680.117
Achromatopsia (no color)#4848480.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #12429B

    #12429B

    oklch(40.7% 0.154 261.5)

  • #604400

    #604400

    oklch(40.7% 0.084 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12429B

    #12429B

    oklch(40.7% 0.154 261.5)

  • #00516E

    #00516E

    oklch(40.8% 0.082 231)

  • #4E3194

    #4E3194

    oklch(40.7% 0.154 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #12429B

    #12429B

    oklch(40.7% 0.154 261.5)

  • #743500

    #743500

    oklch(40.6% 0.105 51.6)

  • #4C4E00

    #4C4E00

    oklch(40.8% 0.09 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12429B

    #12429B

    oklch(40.7% 0.154 261.5)

  • #8A0E21

    #8A0E21

    oklch(40.7% 0.154 21.3)

  • #0C5A00

    #0C5A00

    oklch(40.7% 0.135 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12429B

    #12429B

    oklch(40.7% 0.154 261.5)

  • #811353

    #811353

    oklch(40.7% 0.154 351.3)

  • #604400

    #604400

    oklch(40.7% 0.084 81.8)

  • #005744

    #005744

    oklch(40.7% 0.079 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12429B 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.