#12337E

Closest named color: Marine Blue (#01386A). oklch(34.9% 0.133 263.2), rgb(18, 51, 126).

Aa

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

About this color

#12337E is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.133 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.040 away. White text reads best on it, at 11.66:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.80:1
White text11.66:1

Values

HEX#12337E
RGBrgb(18, 51, 126)
HSLhsl(222, 75%, 28%)
OKLCHoklch(34.9% 0.133 263.2)

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 #12337E 11.66:1 AAA Lc -100.0 Preferred for body text
Black text on #12337E 1.80:1 Fails Lc 7.6 Not readable
#12337E text on white 11.66:1 AAA Lc 96.2 Preferred for body text
#12337E text on black 1.80: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  5. Step 400

    400

    #6E9DFF

    oklch(70.6% 0.153 263.6)

  6. Step 500

    500

    #4781FF

    oklch(63.2% 0.197 263.3)

  7. Step 600

    600

    #2765F2

    oklch(55.6% 0.221 263.2)

  8. Step 700

    700

    #1B52D3

    oklch(49.1% 0.207 263.3)

  9. Step 800

    800

    #1844AA

    oklch(42.6% 0.171 263.3)

  10. Step 900

    900 (this color)

    #12337E

    oklch(34.9% 0.133 263.2)

  11. Step 950

    950

    #0F234F

    oklch(26.9% 0.085 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#12337E 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)#003E810.030
Deuteranopia (no green cones)#00347D0.010
Tritanopia (no blue cones)#0046530.103
Achromatopsia (no color)#3838380.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #12337E

    #12337E

    oklch(34.9% 0.133 263.2)

  • #4C3600

    #4C3600

    oklch(34.9% 0.072 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12337E

    #12337E

    oklch(34.9% 0.133 263.2)

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #402577

    #402577

    oklch(34.9% 0.133 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #12337E

    #12337E

    oklch(34.9% 0.133 263.2)

  • #5C2A00

    #5C2A00

    oklch(34.8% 0.088 53)

  • #3B3E00

    #3B3E00

    oklch(34.9% 0.078 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12337E

    #12337E

    oklch(34.9% 0.133 263.2)

  • #700915

    #700915

    oklch(35% 0.133 23.3)

  • #004804

    #004804

    oklch(34.8% 0.116 143.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12337E

    #12337E

    oklch(34.9% 0.133 263.2)

  • #690B40

    #690B40

    oklch(34.8% 0.133 353)

  • #4C3600

    #4C3600

    oklch(34.9% 0.072 83.2)

  • #004537

    #004537

    oklch(34.8% 0.067 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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