#04476B

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.086 240.5), rgb(4, 71, 107).

Aa

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

About this color

#04476B is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.086 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.031 away. White text reads best on it, at 9.91:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.11:1
White text9.91:1

Values

HEX#04476B
RGBrgb(4, 71, 107)
HSLhsl(201, 93%, 22%)
OKLCHoklch(38% 0.086 240.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 #04476B 9.91:1 AAA Lc -96.7 Preferred for body text
Black text on #04476B 2.11:1 Fails Lc 11.4 Not readable
#04476B text on white 9.91:1 AAA Lc 92.5 Preferred for body text
#04476B text on black 2.11:1 Fails Lc -9.9 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 900.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #DFECF5

    oklch(93.6% 0.018 237.8)

  3. Step 200

    200

    #C5DDEF

    oklch(88.5% 0.036 240.3)

  4. Step 300

    300

    #9CC7E6

    oklch(81% 0.063 239.9)

  5. Step 400

    400

    #61A9DA

    oklch(70.7% 0.102 240.1)

  6. Step 500

    500

    #2992D0

    oklch(63.1% 0.131 240.4)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900 (this color)

    #04476B

    oklch(38% 0.086 240.5)

  11. Step 950

    950

    #07293E

    oklch(26.9% 0.055 240.7)

Export this scale for Tailwind in the Tailwind colors tool

#04476B 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)#36486D0.043
Deuteranopia (no green cones)#283F6A0.032
Tritanopia (no blue cones)#0050540.056
Achromatopsia (no color)#4343430.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #04476B

    #04476B

    oklch(38% 0.086 240.5)

  • #623605

    #623605

    oklch(38% 0.085 61.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04476B

    #04476B

    oklch(38% 0.086 240.5)

  • #004B56

    #004B56

    oklch(37.9% 0.066 211.4)

  • #313F70

    #313F70

    oklch(38.1% 0.086 270)

Open the analogous palette in the generator

Split complementary

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

  • #04476B

    #04476B

    oklch(38% 0.086 240.5)

  • #682E25

    #682E25

    oklch(37.9% 0.085 30.5)

  • #524000

    #524000

    oklch(38% 0.078 90.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04476B

    #04476B

    oklch(38% 0.086 240.5)

  • #662C40

    #662C40

    oklch(38% 0.086 0.3)

  • #3C4908

    #3C4908

    oklch(38.1% 0.086 121)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04476B

    #04476B

    oklch(38% 0.086 240.5)

  • #5B3057

    #5B3057

    oklch(38% 0.084 330.6)

  • #623605

    #623605

    oklch(38% 0.085 61.1)

  • #184F29

    #184F29

    oklch(38.1% 0.086 150.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04476B 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.