#04566C

Closest named color: Petrol (#005F6A). oklch(42.1% 0.077 223.2), rgb(4, 86, 108).

Aa

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

About this color

#04566C is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 42%, its chroma 0.077 and its hue 223°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.030 away. White text reads best on it, at 8.22:1.

Hue familyTeals and cyans
Lightnessdark (42%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.55:1
White text8.22:1

Values

HEX#04566C
RGBrgb(4, 86, 108)
HSLhsl(193, 93%, 22%)
OKLCHoklch(42.1% 0.077 223.2)

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 #04566C 8.22:1 AAA Lc -92.6 Preferred for body text
Black text on #04566C 2.55:1 Fails Lc 16.0 Dividers and decoration only
#04566C text on white 8.22:1 AAA Lc 88.0 Fine for body text
#04566C text on black 2.55:1 Fails Lc -14.2 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

    #C8DDE5

    oklch(88.4% 0.025 222.6)

  4. Step 300

    300

    #A2C8D6

    oklch(81% 0.045 222.3)

  5. Step 400

    400

    #6DABC2

    oklch(70.8% 0.072 223.6)

  6. Step 500

    500

    #3F96B2

    oklch(63.2% 0.092 222.4)

  7. Step 600

    600

    #107F9E

    oklch(55.5% 0.1 223.6)

  8. Step 700

    700

    #006B87

    oklch(49% 0.092 224)

  9. Step 800

    800 (this color)

    #04566C

    oklch(42.1% 0.077 223.2)

  10. Step 900

    900

    #144859

    oklch(37.6% 0.06 223.9)

  11. Step 950

    950

    #0E2A34

    oklch(26.9% 0.038 224.5)

Export this scale for Tailwind in the Tailwind colors tool

#04566C 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)#49546D0.060
Deuteranopia (no green cones)#3D4B6C0.053
Tritanopia (no blue cones)#005D5D0.039
Achromatopsia (no color)#4F4F4F0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #04566C

    #04566C

    oklch(42.1% 0.077 223.2)

  • #703E29

    #703E29

    oklch(42.1% 0.077 43.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04566C

    #04566C

    oklch(42.1% 0.077 223.2)

  • #005958

    #005958

    oklch(42% 0.072 193.4)

  • #2D4F76

    #2D4F76

    oklch(42.1% 0.077 253)

Open the analogous palette in the generator

Split complementary

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

  • #04566C

    #04566C

    oklch(42.1% 0.077 223.2)

  • #713A41

    #713A41

    oklch(42% 0.078 12.9)

  • #674615

    #674615

    oklch(42.2% 0.078 72.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04566C

    #04566C

    oklch(42.1% 0.077 223.2)

  • #6A3B58

    #6A3B58

    oklch(42% 0.077 343.2)

  • #554F14

    #554F14

    oklch(42.1% 0.078 103.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04566C

    #04566C

    oklch(42.1% 0.077 223.2)

  • #5C406B

    #5C406B

    oklch(42.1% 0.077 313.2)

  • #703E29

    #703E29

    oklch(42.1% 0.077 43.1)

  • #3C5628

    #3C5628

    oklch(42% 0.077 133.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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