#024058

Closest named color: Midnight Green (#073B4C). oklch(34.9% 0.07 231.7), rgb(2, 64, 88).

Aa

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

About this color

#024058 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.070 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.024 away. White text reads best on it, at 11.18:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.070)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.87:1
White text11.18:1

Values

HEX#024058
RGBrgb(2, 64, 88)
HSLhsl(197, 96%, 18%)
OKLCHoklch(34.9% 0.07 231.7)

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 #024058 11.18:1 AAA Lc -99.2 Preferred for body text
Black text on #024058 1.87:1 Fails Lc 8.5 Not readable
#024058 text on white 11.18:1 AAA Lc 95.4 Preferred for body text
#024058 text on black 1.87: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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E0ECF2

    oklch(93.6% 0.015 229)

  3. Step 200

    200

    #C7DDE9

    oklch(88.5% 0.029 231.5)

  4. Step 300

    300

    #9FC7DD

    oklch(80.8% 0.053 232.3)

  5. Step 400

    400

    #68AACC

    oklch(70.7% 0.084 232.1)

  6. Step 500

    500

    #3794BF

    oklch(63% 0.107 232.3)

  7. Step 600

    600

    #007EA9

    oklch(55.6% 0.112 231.2)

  8. Step 700

    700

    #006A8F

    oklch(49.2% 0.1 231.3)

  9. Step 800

    800

    #005676

    oklch(42.6% 0.087 232.3)

  10. Step 900

    900 (this color)

    #024058

    oklch(34.9% 0.07 231.7)

  11. Step 950

    950

    #0B2A38

    oklch(27% 0.044 231.3)

Export this scale for Tailwind in the Tailwind colors tool

#024058 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)#343F590.046
Deuteranopia (no green cones)#2938580.038
Tritanopia (no blue cones)#0046480.040
Achromatopsia (no color)#3B3B3B0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #024058

    #024058

    oklch(34.9% 0.07 231.7)

  • #562F14

    #562F14

    oklch(34.9% 0.069 52.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #024058

    #024058

    oklch(34.9% 0.07 231.7)

  • #004347

    #004347

    oklch(34.8% 0.059 201.6)

  • #253A5E

    #253A5E

    oklch(34.9% 0.069 260.6)

Open the analogous palette in the generator

Split complementary

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

  • #024058

    #024058

    oklch(34.9% 0.07 231.7)

  • #592A2A

    #592A2A

    oklch(34.9% 0.069 21.3)

  • #4C3603

    #4C3603

    oklch(34.9% 0.07 82.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #024058

    #024058

    oklch(34.9% 0.07 231.7)

  • #552A3E

    #552A3E

    oklch(34.9% 0.069 352)

  • #3C3D0A

    #3C3D0A

    oklch(34.8% 0.069 110.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #024058

    #024058

    oklch(34.9% 0.07 231.7)

  • #4B2D50

    #4B2D50

    oklch(34.9% 0.07 321.7)

  • #562F14

    #562F14

    oklch(34.9% 0.069 52.9)

  • #244320

    #244320

    oklch(34.9% 0.069 141.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #024058 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.