#045F7F

Closest named color: Light Navy Blue (#2E5A88). oklch(45.5% 0.09 230.4), rgb(4, 95, 127).

Aa

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

About this color

#045F7F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.090 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.033 away. White text reads best on it, at 7.12:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.94:1
White text7.12:1

Values

HEX#045F7F
RGBrgb(4, 95, 127)
HSLhsl(196, 94%, 26%)
OKLCHoklch(45.5% 0.09 230.4)

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 #045F7F 7.12:1 AAA Lc -89.1 Fine for body text
Black text on #045F7F 2.94:1 Fails Lc 19.8 Dividers and decoration only
#045F7F text on white 7.12:1 AAA Lc 84.2 Fine for body text
#045F7F text on black 2.94:1 Fails Lc -17.8 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

    #E0ECF2

    oklch(93.6% 0.015 229)

  3. Step 200

    200

    #C7DDE9

    oklch(88.5% 0.029 231.5)

  4. Step 300

    300

    #9FC8DC

    oklch(81% 0.052 229.2)

  5. Step 400

    400

    #67ABCB

    oklch(70.8% 0.083 229.8)

  6. Step 500

    500

    #3495BE

    oklch(63.2% 0.107 230.3)

  7. Step 600

    600

    #007EA8

    oklch(55.6% 0.112 230.6)

  8. Step 700

    700

    #006A8E

    oklch(49.1% 0.099 230.6)

  9. Step 800

    800 (this color)

    #045F7F

    oklch(45.5% 0.09 230.4)

  10. Step 900

    900

    #0B4860

    oklch(37.8% 0.07 230.6)

  11. Step 950

    950

    #0B2A38

    oklch(27% 0.044 231.3)

Export this scale for Tailwind in the Tailwind colors tool

#045F7F 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)#4E5E810.060
Deuteranopia (no green cones)#40537F0.053
Tritanopia (no blue cones)#00686A0.051
Achromatopsia (no color)#5858580.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #045F7F

    #045F7F

    oklch(45.5% 0.09 230.4)

  • #7E4624

    #7E4624

    oklch(45.5% 0.09 50.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045F7F

    #045F7F

    oklch(45.5% 0.09 230.4)

  • #006368

    #006368

    oklch(45.4% 0.077 200.9)

  • #395688

    #395688

    oklch(45.5% 0.089 260.7)

Open the analogous palette in the generator

Split complementary

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

  • #045F7F

    #045F7F

    oklch(45.5% 0.09 230.4)

  • #814041

    #814041

    oklch(45.4% 0.09 20.3)

  • #70500A

    #70500A

    oklch(45.4% 0.09 80.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045F7F

    #045F7F

    oklch(45.5% 0.09 230.4)

  • #7B405D

    #7B405D

    oklch(45.4% 0.089 350.4)

  • #5A5B14

    #5A5B14

    oklch(45.6% 0.09 110.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045F7F

    #045F7F

    oklch(45.5% 0.09 230.4)

  • #6D4575

    #6D4575

    oklch(45.5% 0.09 320.8)

  • #7E4624

    #7E4624

    oklch(45.5% 0.09 50.1)

  • #396331

    #396331

    oklch(45.6% 0.091 140.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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