#045E6C

Closest named color: Petrol (#005F6A). oklch(44.3% 0.076 212.5), rgb(4, 94, 108).

Aa

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

About this color

#045E6C is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 44%, its chroma 0.076 and its hue 212°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.005 away. White text reads best on it, at 7.43:1.

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

Values

HEX#045E6C
RGBrgb(4, 94, 108)
HSLhsl(188, 93%, 22%)
OKLCHoklch(44.3% 0.076 212.5)

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 #045E6C 7.43:1 AAA Lc -90.2 Preferred for body text
Black text on #045E6C 2.82:1 Fails Lc 18.6 Dividers and decoration only
#045E6C text on white 7.43:1 AAA Lc 85.4 Fine for body text
#045E6C text on black 2.82:1 Fails Lc -16.6 Dividers and decoration only

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

    #F1F7F8

    oklch(97.2% 0.007 208.8)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DEE3

    oklch(88.6% 0.024 212.9)

  4. Step 300

    300

    #A0C9D2

    oklch(80.9% 0.045 212.6)

  5. Step 400

    400

    #69ADBB

    oklch(70.8% 0.072 212.2)

  6. Step 500

    500

    #3998AA

    oklch(63.2% 0.091 212.5)

  7. Step 600

    600

    #008295

    oklch(55.7% 0.097 212.5)

  8. Step 700

    700

    #006D7D

    oklch(49.1% 0.086 212.3)

  9. Step 800

    800 (this color)

    #045E6C

    oklch(44.3% 0.076 212.5)

  10. Step 900

    900

    #0F4A54

    oklch(37.8% 0.059 211.7)

  11. Step 950

    950

    #0C2B31

    oklch(26.9% 0.038 212.5)

Export this scale for Tailwind in the Tailwind colors tool

#045E6C 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)#535A6D0.069
Deuteranopia (no green cones)#47516C0.064
Tritanopia (no blue cones)#0064620.029
Achromatopsia (no color)#5555550.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #045E6C

    #045E6C

    oklch(44.3% 0.076 212.5)

  • #784338

    #784338

    oklch(44.4% 0.076 32.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045E6C

    #045E6C

    oklch(44.3% 0.076 212.5)

  • #0A6157

    #0A6157

    oklch(44.4% 0.076 182.5)

  • #29587A

    #29587A

    oklch(44.3% 0.076 242.6)

Open the analogous palette in the generator

Split complementary

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

  • #045E6C

    #045E6C

    oklch(44.3% 0.076 212.5)

  • #764050

    #764050

    oklch(44.3% 0.077 1.7)

  • #714923

    #714923

    oklch(44.3% 0.076 62.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045E6C

    #045E6C

    oklch(44.3% 0.076 212.5)

  • #6C4366

    #6C4366

    oklch(44.3% 0.076 332.2)

  • #62521A

    #62521A

    oklch(44.3% 0.076 92.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045E6C

    #045E6C

    oklch(44.3% 0.076 212.5)

  • #5B4976

    #5B4976

    oklch(44.3% 0.075 301.8)

  • #784338

    #784338

    oklch(44.4% 0.076 32.7)

  • #4C5A27

    #4C5A27

    oklch(44.3% 0.076 122.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045E6C 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.