#004158

Closest named color: Midnight Green (#073B4C). oklch(35.1% 0.07 229.8), rgb(0, 65, 88).

Aa

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

About this color

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

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

Values

HEX#004158
RGBrgb(0, 65, 88)
HSLhsl(196, 100%, 17%)
OKLCHoklch(35.1% 0.07 229.8)

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 #004158 11.06:1 AAA Lc -99.0 Preferred for body text
Black text on #004158 1.89:1 Fails Lc 8.8 Not readable
#004158 text on white 11.06:1 AAA Lc 95.1 Preferred for body text
#004158 text on black 1.89:1 Fails Lc -7.5 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

    #9EC8DC

    oklch(80.9% 0.053 228.6)

  5. Step 400

    400

    #66ABCB

    oklch(70.8% 0.084 229.5)

  6. Step 500

    500

    #3395BD

    oklch(63.1% 0.107 229.4)

  7. Step 600

    600

    #007EA7

    oklch(55.5% 0.111 230)

  8. Step 700

    700

    #006A8D

    oklch(49.1% 0.098 229.8)

  9. Step 800

    800

    #005774

    oklch(42.7% 0.085 229.4)

  10. Step 900

    900 (this color)

    #004158

    oklch(35.1% 0.07 229.8)

  11. Step 950

    950

    #0A2A38

    oklch(26.9% 0.045 230.7)

Export this scale for Tailwind in the Tailwind colors tool

#004158 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)#3540590.048
Deuteranopia (no green cones)#2A38580.041
Tritanopia (no blue cones)#0047490.038
Achromatopsia (no color)#3C3C3C0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #004158

    #004158

    oklch(35.1% 0.07 229.8)

  • #572F16

    #572F16

    oklch(35.1% 0.069 50.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004158

    #004158

    oklch(35.1% 0.07 229.8)

  • #004447

    #004447

    oklch(35.1% 0.06 199.8)

  • #243B5F

    #243B5F

    oklch(35.2% 0.07 259)

Open the analogous palette in the generator

Split complementary

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

  • #004158

    #004158

    oklch(35.1% 0.07 229.8)

  • #5A2A2C

    #5A2A2C

    oklch(35.1% 0.071 18.8)

  • #4E3604

    #4E3604

    oklch(35.2% 0.07 79.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004158

    #004158

    oklch(35.1% 0.07 229.8)

  • #552A40

    #552A40

    oklch(35% 0.07 349.4)

  • #3D3E09

    #3D3E09

    oklch(35.2% 0.071 110.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004158

    #004158

    oklch(35.1% 0.07 229.8)

  • #4B2E51

    #4B2E51

    oklch(35.1% 0.07 320.6)

  • #572F16

    #572F16

    oklch(35.1% 0.069 50.7)

  • #26441F

    #26441F

    oklch(35.3% 0.071 139.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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