#12404C

Closest named color: Midnight Green (#073B4C). oklch(34.6% 0.053 218.6), rgb(18, 64, 76).

Aa

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

About this color

#12404C is a dark, muted teal or cyan. In OKLCH its lightness is 35%, its chroma 0.053 and its hue 219°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.020 away. White text reads best on it, at 11.26:1.

Hue familyTeals and cyans
Lightnessdark (35%)
Chromamuted (0.053)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.86:1
White text11.26:1

Values

HEX#12404C
RGBrgb(18, 64, 76)
HSLhsl(192, 62%, 18%)
OKLCHoklch(34.6% 0.053 218.6)

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 #12404C 11.26:1 AAA Lc -99.6 Preferred for body text
Black text on #12404C 1.86:1 Fails Lc 8.1 Not readable
#12404C text on white 11.26:1 AAA Lc 95.8 Preferred for body text
#12404C text on black 1.86: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #CADDE3

    oklch(88.5% 0.022 218.6)

  4. Step 300

    300

    #A5C7D2

    oklch(80.8% 0.04 219.4)

  5. Step 400

    400

    #73ABBB

    oklch(70.8% 0.063 217.7)

  6. Step 500

    500

    #4A95AA

    oklch(63% 0.08 218.6)

  7. Step 600

    600

    #267F96

    oklch(55.5% 0.088 219)

  8. Step 700

    700

    #176B80

    oklch(49% 0.082 219.3)

  9. Step 800

    800

    #175868

    oklch(42.8% 0.068 218.1)

  10. Step 900

    900 (this color)

    #12404C

    oklch(34.6% 0.053 218.6)

  11. Step 950

    950

    #122A31

    oklch(26.9% 0.033 219.1)

Export this scale for Tailwind in the Tailwind colors tool

#12404C 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)#383E4D0.044
Deuteranopia (no green cones)#30384C0.040
Tritanopia (no blue cones)#0044440.025
Achromatopsia (no color)#3B3B3B0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #12404C

    #12404C

    oklch(34.6% 0.053 218.6)

  • #513025

    #513025

    oklch(34.7% 0.052 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12404C

    #12404C

    oklch(34.6% 0.053 218.6)

  • #0F423F

    #0F423F

    oklch(34.6% 0.052 189.3)

  • #233C54

    #233C54

    oklch(34.7% 0.052 248.6)

Open the analogous palette in the generator

Split complementary

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

  • #12404C

    #12404C

    oklch(34.6% 0.053 218.6)

  • #512E34

    #512E34

    oklch(34.7% 0.052 9)

  • #4B3419

    #4B3419

    oklch(34.5% 0.052 69)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12404C

    #12404C

    oklch(34.6% 0.053 218.6)

  • #4C2F43

    #4C2F43

    oklch(34.8% 0.052 339)

  • #413A17

    #413A17

    oklch(34.7% 0.053 98.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12404C

    #12404C

    oklch(34.6% 0.053 218.6)

  • #41324F

    #41324F

    oklch(34.6% 0.053 307.5)

  • #513025

    #513025

    oklch(34.7% 0.052 39.2)

  • #313F20

    #313F20

    oklch(34.6% 0.054 128.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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