#12335E

Closest named color: Prussian Blue (#1D3557). oklch(32.2% 0.086 256.4), rgb(18, 51, 94).

Aa

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

About this color

#12335E is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.086 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 12.64:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.64:1

Values

HEX#12335E
RGBrgb(18, 51, 94)
HSLhsl(214, 68%, 22%)
OKLCHoklch(32.2% 0.086 256.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 #12335E 12.64:1 AAA Lc -101.8 Preferred for body text
Black text on #12335E 1.66:1 Fails Lc 0.0 Not readable
#12335E text on white 12.64:1 AAA Lc 98.4 Preferred for body text
#12335E text on black 1.66: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 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFE

    oklch(93.6% 0.029 257.8)

  3. Step 200

    200

    #C2DBFF

    oklch(88.5% 0.057 257.5)

  4. Step 300

    300

    #98C3FF

    oklch(80.9% 0.097 256.8)

  5. Step 400

    400

    #5CA1FF

    oklch(70.6% 0.155 256.6)

  6. Step 500

    500

    #2186FF

    oklch(63.1% 0.201 256.4)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #003F85

    oklch(37.8% 0.131 256.3)

  11. Step 950

    950 (this color)

    #12335E

    oklch(32.2% 0.086 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#12335E 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)#1E37600.019
Deuteranopia (no green cones)#10305D0.010
Tritanopia (no blue cones)#003D430.067
Achromatopsia (no color)#3333330.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #12335E

    #12335E

    oklch(32.2% 0.086 256.4)

  • #472E00

    #472E00

    oklch(32.3% 0.068 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12335E

    #12335E

    oklch(32.2% 0.086 256.4)

  • #00394B

    #00394B

    oklch(32.1% 0.062 226.2)

  • #312B5C

    #312B5C

    oklch(32.3% 0.084 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #12335E

    #12335E

    oklch(32.2% 0.086 256.4)

  • #552204

    #552204

    oklch(32.2% 0.085 46.2)

  • #383500

    #383500

    oklch(32.2% 0.069 106.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12335E

    #12335E

    oklch(32.2% 0.086 256.4)

  • #571D24

    #571D24

    oklch(32.3% 0.086 16.1)

  • #1D3D09

    #1D3D09

    oklch(32.3% 0.086 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12335E

    #12335E

    oklch(32.2% 0.086 256.4)

  • #511E3C

    #511E3C

    oklch(32.2% 0.086 346.6)

  • #472E00

    #472E00

    oklch(32.3% 0.068 76.3)

  • #003E2C

    #003E2C

    oklch(32.3% 0.066 166.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12335E 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.