#04866B

Closest named color: Viridian (#1E9167). oklch(55.3% 0.106 171.9), rgb(4, 134, 107).

Aa

Black text reads best on this color (4.62:1).

About this color

#04866B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.106 and its hue 172°. Its hue sits on the cool side of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.038 away. Black text reads best on it, at 4.62:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest nameViridian (#1E9167)
Black text4.62:1
White text4.53:1

Values

HEX#04866B
RGBrgb(4, 134, 107)
HSLhsl(168, 94%, 27%)
OKLCHoklch(55.3% 0.106 171.9)

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 #04866B 4.53:1 AA Lc -76.4 Fine for body text
Black text on #04866B 4.62:1 AA Lc 33.1 Non-text elements, placeholder text
#04866B text on white 4.53:1 AA Lc 71.0 Content text, not long reading
#04866B text on black 4.62:1 AA Lc -30.7 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F1F7F5

    oklch(97.1% 0.007 174.4)

  2. Step 100

    100

    #E1EDE9

    oklch(93.6% 0.014 174.2)

  3. Step 200

    200

    #C8DFD7

    oklch(88.4% 0.027 172.8)

  4. Step 300

    300

    #A2CBBD

    oklch(80.9% 0.048 172.2)

  5. Step 400

    400

    #6CB09B

    oklch(70.6% 0.076 172.4)

  6. Step 500

    500

    #3E9D82

    oklch(63.2% 0.099 171.3)

  7. Step 600

    600 (this color)

    #04866B

    oklch(55.3% 0.106 171.9)

  8. Step 700

    700

    #00725A

    oklch(49.2% 0.096 171.5)

  9. Step 800

    800

    #035D4A

    oklch(42.7% 0.081 172.3)

  10. Step 900

    900

    #134C3E

    oklch(37.6% 0.063 172.9)

  11. Step 950

    950

    #0E2D24

    oklch(27.1% 0.041 171.3)

Export this scale for Tailwind in the Tailwind colors tool

#04866B 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)#817C6A0.109
Deuteranopia (no green cones)#73726D0.105
Tritanopia (no blue cones)#00877E0.029
Achromatopsia (no color)#7676760.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #04866B

    #04866B

    oklch(55.3% 0.106 171.9)

  • #A15679

    #A15679

    oklch(55.2% 0.107 351.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04866B

    #04866B

    oklch(55.3% 0.106 171.9)

  • #4C8246

    #4C8246

    oklch(55.3% 0.107 141.9)

  • #00828A

    #00828A

    oklch(55.2% 0.094 202.4)

Open the analogous palette in the generator

Split complementary

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

  • #04866B

    #04866B

    oklch(55.3% 0.106 171.9)

  • #8F5C97

    #8F5C97

    oklch(55.2% 0.106 322)

  • #A85756

    #A85756

    oklch(55.3% 0.107 21.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04866B

    #04866B

    oklch(55.3% 0.106 171.9)

  • #7466AB

    #7466AB

    oklch(55.3% 0.106 291.9)

  • #A35F32

    #A35F32

    oklch(55.4% 0.107 52.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04866B

    #04866B

    oklch(55.3% 0.106 171.9)

  • #4F71B0

    #4F71B0

    oklch(55.2% 0.106 261.9)

  • #A15679

    #A15679

    oklch(55.2% 0.107 351.8)

  • #916B16

    #916B16

    oklch(55.2% 0.106 81.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04866B 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.