#04506D

Closest named color: Deep Sea Blue (#015482). oklch(40.5% 0.081 231.9), rgb(4, 80, 109).

Aa

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

About this color

#04506D is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.081 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.035 away. White text reads best on it, at 8.84:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.37:1
White text8.84:1

Values

HEX#04506D
RGBrgb(4, 80, 109)
HSLhsl(197, 93%, 22%)
OKLCHoklch(40.5% 0.081 231.9)

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 #04506D 8.84:1 AAA Lc -94.3 Preferred for body text
Black text on #04506D 2.37:1 Fails Lc 14.2 Not readable
#04506D text on white 8.84:1 AAA Lc 89.8 Fine for body text
#04506D text on black 2.37:1 Fails Lc -12.5 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A3C7DA

    oklch(81% 0.047 231.1)

  5. Step 400

    400

    #6FA9C8

    oklch(70.6% 0.076 232.7)

  6. Step 500

    500

    #4494BA

    oklch(63.2% 0.096 231.7)

  7. Step 600

    600

    #1B7DA6

    oklch(55.5% 0.105 232.1)

  8. Step 700

    700

    #08698E

    oklch(49% 0.098 232.2)

  9. Step 800

    800 (this color)

    #04506D

    oklch(40.5% 0.081 231.9)

  10. Step 900

    900

    #17475D

    oklch(37.6% 0.063 231.9)

  11. Step 950

    950

    #0F2A37

    oklch(27.1% 0.041 231.9)

Export this scale for Tailwind in the Tailwind colors tool

#04506D 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)#414F6E0.052
Deuteranopia (no green cones)#34466D0.044
Tritanopia (no blue cones)#00585A0.048
Achromatopsia (no color)#4A4A4A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #04506D

    #04506D

    oklch(40.5% 0.081 231.9)

  • #6B3B1B

    #6B3B1B

    oklch(40.5% 0.081 52)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04506D

    #04506D

    oklch(40.5% 0.081 231.9)

  • #005459

    #005459

    oklch(40.6% 0.069 201.8)

  • #304875

    #304875

    oklch(40.5% 0.082 262.1)

Open the analogous palette in the generator

Split complementary

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

  • #04506D

    #04506D

    oklch(40.5% 0.081 231.9)

  • #6E3635

    #6E3635

    oklch(40.5% 0.08 22.3)

  • #5F4405

    #5F4405

    oklch(40.6% 0.081 81.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04506D

    #04506D

    oklch(40.5% 0.081 231.9)

  • #6A354E

    #6A354E

    oklch(40.6% 0.082 351.7)

  • #4A4D0F

    #4A4D0F

    oklch(40.5% 0.081 112.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04506D

    #04506D

    oklch(40.5% 0.081 231.9)

  • #5D3963

    #5D3963

    oklch(40.4% 0.081 321.7)

  • #6B3B1B

    #6B3B1B

    oklch(40.5% 0.081 52)

  • #2E542A

    #2E542A

    oklch(40.6% 0.08 141.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04506D 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.