#04586F

Closest named color: Petrol (#005F6A). oklch(42.8% 0.079 223.8), rgb(4, 88, 111).

Aa

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

About this color

#04586F is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 43%, its chroma 0.079 and its hue 224°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.026 away. White text reads best on it, at 7.98:1.

Hue familyTeals and cyans
Lightnessdark (43%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.63:1
White text7.98:1

Values

HEX#04586F
RGBrgb(4, 88, 111)
HSLhsl(193, 93%, 23%)
OKLCHoklch(42.8% 0.079 223.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 #04586F 7.98:1 AAA Lc -91.9 Preferred for body text
Black text on #04586F 2.63:1 Fails Lc 16.8 Dividers and decoration only
#04586F text on white 7.98:1 AAA Lc 87.2 Fine for body text
#04586F text on black 2.63:1 Fails Lc -14.9 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 800.

  1. Step 50

    50

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C8DDE6

    oklch(88.5% 0.026 225.3)

  4. Step 300

    300

    #A1C8D7

    oklch(81% 0.046 223.3)

  5. Step 400

    400

    #6BABC3

    oklch(70.7% 0.074 223.9)

  6. Step 500

    500

    #3D96B3

    oklch(63.2% 0.094 222.9)

  7. Step 600

    600

    #097F9F

    oklch(55.5% 0.102 224)

  8. Step 700

    700

    #006B87

    oklch(49% 0.092 224)

  9. Step 800

    800 (this color)

    #04586F

    oklch(42.8% 0.079 223.8)

  10. Step 900

    900

    #13485A

    oklch(37.6% 0.062 225)

  11. Step 950

    950

    #0E2A34

    oklch(26.9% 0.038 224.5)

Export this scale for Tailwind in the Tailwind colors tool

#04586F 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)#4B56700.061
Deuteranopia (no green cones)#3E4D6F0.053
Tritanopia (no blue cones)#005F600.039
Achromatopsia (no color)#5151510.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #04586F

    #04586F

    oklch(42.8% 0.079 223.8)

  • #73402A

    #73402A

    oklch(42.9% 0.079 43.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04586F

    #04586F

    oklch(42.8% 0.079 223.8)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 193.5)

  • #2F5179

    #2F5179

    oklch(42.8% 0.078 253.5)

Open the analogous palette in the generator

Split complementary

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

  • #04586F

    #04586F

    oklch(42.8% 0.079 223.8)

  • #743C42

    #743C42

    oklch(42.8% 0.078 14.1)

  • #694815

    #694815

    oklch(42.9% 0.079 73.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04586F

    #04586F

    oklch(42.8% 0.079 223.8)

  • #6D3D5A

    #6D3D5A

    oklch(42.9% 0.078 343.8)

  • #575115

    #575115

    oklch(42.8% 0.079 103.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04586F

    #04586F

    oklch(42.8% 0.079 223.8)

  • #5F426E

    #5F426E

    oklch(42.9% 0.079 313.6)

  • #73402A

    #73402A

    oklch(42.9% 0.079 43.6)

  • #3D592A

    #3D592A

    oklch(42.9% 0.079 134)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04586F 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.