#12364C

Closest named color: Midnight Green (#073B4C). oklch(31.8% 0.057 239), rgb(18, 54, 76).

Aa

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

About this color

#12364C is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.057 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.017 away. White text reads best on it, at 12.66:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.057)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.65:1
White text12.66:1

Values

HEX#12364C
RGBrgb(18, 54, 76)
HSLhsl(203, 62%, 18%)
OKLCHoklch(31.8% 0.057 239)

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 #12364C 12.66:1 AAA Lc -101.9 Preferred for body text
Black text on #12364C 1.65:1 Fails Lc 0.0 Not readable
#12364C text on white 12.66:1 AAA Lc 98.5 Preferred for body text
#12364C text on black 1.65: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #99C7E8

    oklch(80.9% 0.067 239.8)

  5. Step 400

    400

    #5BAADC

    oklch(70.8% 0.107 238.6)

  6. Step 500

    500

    #1693D3

    oklch(63.2% 0.137 239.1)

  7. Step 600

    600

    #007BB4

    oklch(55.5% 0.126 239.3)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557D

    oklch(42.7% 0.096 238.5)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950 (this color)

    #12364C

    oklch(31.8% 0.057 239)

Export this scale for Tailwind in the Tailwind colors tool

#12364C 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)#2C364D0.031
Deuteranopia (no green cones)#24304C0.026
Tritanopia (no blue cones)#003C3E0.039
Achromatopsia (no color)#3333330.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #12364C

    #12364C

    oklch(31.8% 0.057 239)

  • #472B12

    #472B12

    oklch(31.8% 0.056 60.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12364C

    #12364C

    oklch(31.8% 0.057 239)

  • #003A41

    #003A41

    oklch(31.9% 0.055 208)

  • #27314F

    #27314F

    oklch(31.9% 0.056 269.1)

Open the analogous palette in the generator

Split complementary

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

  • #12364C

    #12364C

    oklch(31.8% 0.057 239)

  • #4B2621

    #4B2621

    oklch(31.7% 0.057 28.8)

  • #3E310A

    #3E310A

    oklch(31.9% 0.057 89.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12364C

    #12364C

    oklch(31.8% 0.057 239)

  • #492532

    #492532

    oklch(31.7% 0.057 357.8)

  • #2F3612

    #2F3612

    oklch(31.7% 0.056 118.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12364C

    #12364C

    oklch(31.8% 0.057 239)

  • #422740

    #422740

    oklch(31.7% 0.057 329.4)

  • #472B12

    #472B12

    oklch(31.8% 0.056 60.3)

  • #1C3A22

    #1C3A22

    oklch(31.7% 0.056 148.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12364C 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.