#045A6D

Closest named color: Petrol (#005F6A). oklch(43.2% 0.077 219), rgb(4, 90, 109).

Aa

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

About this color

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

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

Values

HEX#045A6D
RGBrgb(4, 90, 109)
HSLhsl(191, 93%, 22%)
OKLCHoklch(43.2% 0.077 219)

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 #045A6D 7.81:1 AAA Lc -91.4 Preferred for body text
Black text on #045A6D 2.68:1 Fails Lc 17.4 Dividers and decoration only
#045A6D text on white 7.81:1 AAA Lc 86.6 Fine for body text
#045A6D text on black 2.68:1 Fails Lc -15.4 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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C8DDE4

    oklch(88.4% 0.024 219.7)

  4. Step 300

    300

    #A1C8D4

    oklch(80.9% 0.045 218.5)

  5. Step 400

    400

    #6BACBF

    oklch(70.8% 0.072 218.4)

  6. Step 500

    500

    #3C97AF

    oklch(63.2% 0.092 218.4)

  7. Step 600

    600

    #03809B

    oklch(55.5% 0.1 219.6)

  8. Step 700

    700

    #006C83

    oklch(49.1% 0.089 219.3)

  9. Step 800

    800 (this color)

    #045A6D

    oklch(43.2% 0.077 219)

  10. Step 900

    900

    #124957

    oklch(37.7% 0.06 218.7)

  11. Step 950

    950

    #0D2B33

    oklch(27.1% 0.038 218.3)

Export this scale for Tailwind in the Tailwind colors tool

#045A6D 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)#4E576E0.064
Deuteranopia (no green cones)#414E6D0.057
Tritanopia (no blue cones)#0060600.034
Achromatopsia (no color)#5252520.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #045A6D

    #045A6D

    oklch(43.2% 0.077 219)

  • #744130

    #744130

    oklch(43.3% 0.076 39.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045A6D

    #045A6D

    oklch(43.2% 0.077 219)

  • #005D59

    #005D59

    oklch(43.2% 0.075 189.7)

  • #2C5379

    #2C5379

    oklch(43.2% 0.077 249.5)

Open the analogous palette in the generator

Split complementary

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

  • #045A6D

    #045A6D

    oklch(43.2% 0.077 219)

  • #743D47

    #743D47

    oklch(43.2% 0.077 9.2)

  • #6C481B

    #6C481B

    oklch(43.3% 0.077 68.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045A6D

    #045A6D

    oklch(43.2% 0.077 219)

  • #6C3F5E

    #6C3F5E

    oklch(43.2% 0.077 339.5)

  • #5B5117

    #5B5117

    oklch(43.3% 0.077 99.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045A6D

    #045A6D

    oklch(43.2% 0.077 219)

  • #5D4471

    #5D4471

    oklch(43.3% 0.078 309)

  • #744130

    #744130

    oklch(43.3% 0.076 39.1)

  • #435928

    #435928

    oklch(43.3% 0.078 129.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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