#045D7F

Closest named color: Deep Sea Blue (#015482). oklch(45% 0.091 232.5), rgb(4, 93, 127).

Aa

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

About this color

#045D7F is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.091 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.030 away. White text reads best on it, at 7.29:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.87:1
White text7.29:1

Values

HEX#045D7F
RGBrgb(4, 93, 127)
HSLhsl(197, 94%, 26%)
OKLCHoklch(45% 0.091 232.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 #045D7F 7.29:1 AAA Lc -89.7 Fine for body text
Black text on #045D7F 2.87:1 Fails Lc 19.2 Dividers and decoration only
#045D7F text on white 7.29:1 AAA Lc 84.8 Fine for body text
#045D7F text on black 2.87:1 Fails Lc -17.2 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C7DDEA

    oklch(88.5% 0.03 233.6)

  4. Step 300

    300

    #9FC7DE

    oklch(80.9% 0.054 233.5)

  5. Step 400

    400

    #67AACD

    oklch(70.7% 0.085 232.5)

  6. Step 500

    500

    #3694C0

    oklch(63.1% 0.109 232.7)

  7. Step 600

    600

    #007EAB

    oklch(55.7% 0.114 232.4)

  8. Step 700

    700

    #006990

    oklch(49% 0.101 232.9)

  9. Step 800

    800 (this color)

    #045D7F

    oklch(45% 0.091 232.5)

  10. Step 900

    900

    #0D4861

    oklch(37.8% 0.071 232.1)

  11. Step 950

    950

    #0B2A39

    oklch(27% 0.045 233.1)

Export this scale for Tailwind in the Tailwind colors tool

#045D7F 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)#4C5C810.059
Deuteranopia (no green cones)#3D527E0.048
Tritanopia (no blue cones)#0066690.053
Achromatopsia (no color)#5656560.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #045D7F

    #045D7F

    oklch(45% 0.091 232.5)

  • #7C4520

    #7C4520

    oklch(45% 0.091 52.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045D7F

    #045D7F

    oklch(45% 0.091 232.5)

  • #006168

    #006168

    oklch(44.9% 0.076 203.4)

  • #395488

    #395488

    oklch(45% 0.092 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #045D7F

    #045D7F

    oklch(45% 0.091 232.5)

  • #803F3D

    #803F3D

    oklch(45% 0.09 23.1)

  • #6E4F04

    #6E4F04

    oklch(44.9% 0.091 81.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045D7F

    #045D7F

    oklch(45% 0.091 232.5)

  • #7B3E5A

    #7B3E5A

    oklch(45% 0.091 352.5)

  • #565A12

    #565A12

    oklch(45% 0.091 112.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045D7F

    #045D7F

    oklch(45% 0.091 232.5)

  • #6D4373

    #6D4373

    oklch(45.1% 0.091 322.4)

  • #7C4520

    #7C4520

    oklch(45% 0.091 52.1)

  • #356231

    #356231

    oklch(45.1% 0.092 142.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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