#04407F

Closest named color: Twilight Blue (#0A437A). oklch(37.6% 0.12 255.1), rgb(4, 64, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.04:1
White text10.26:1

Values

HEX#04407F
RGBrgb(4, 64, 127)
HSLhsl(211, 94%, 26%)
OKLCHoklch(37.6% 0.12 255.1)

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 #04407F 10.26:1 AAA Lc -97.4 Preferred for body text
Black text on #04407F 2.04:1 Fails Lc 10.7 Not readable
#04407F text on white 10.26:1 AAA Lc 93.2 Preferred for body text
#04407F text on black 2.04:1 Fails Lc -9.3 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C3DBFB

    oklch(88.4% 0.051 255.7)

  4. Step 300

    300

    #99C4FB

    oklch(81% 0.091 254.9)

  5. Step 400

    400

    #5EA3F8

    oklch(70.8% 0.144 254.6)

  6. Step 500

    500

    #2988F5

    oklch(63% 0.184 255.1)

  7. Step 600

    600

    #0071DB

    oklch(55.7% 0.183 255)

  8. Step 700

    700

    #005EB9

    oklch(49% 0.162 255.1)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900 (this color)

    #04407F

    oklch(37.6% 0.12 255.1)

  11. Step 950

    950

    #07264A

    oklch(26.9% 0.076 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#04407F 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)#1B46810.024
Deuteranopia (no green cones)#003C7E0.012
Tritanopia (no blue cones)#004F590.089
Achromatopsia (no color)#4141410.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #04407F

    #04407F

    oklch(37.6% 0.12 255.1)

  • #5A3A00

    #5A3A00

    oklch(37.7% 0.08 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04407F

    #04407F

    oklch(37.6% 0.12 255.1)

  • #00495E

    #00495E

    oklch(37.7% 0.071 225)

  • #3D337D

    #3D337D

    oklch(37.5% 0.121 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #04407F

    #04407F

    oklch(37.6% 0.12 255.1)

  • #6D2900

    #6D2900

    oklch(37.5% 0.107 44.9)

  • #484300

    #484300

    oklch(37.6% 0.08 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04407F

    #04407F

    oklch(37.6% 0.12 255.1)

  • #741C2C

    #741C2C

    oklch(37.7% 0.121 15)

  • #244D00

    #244D00

    oklch(37.5% 0.11 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04407F

    #04407F

    oklch(37.6% 0.12 255.1)

  • #6B1F50

    #6B1F50

    oklch(37.7% 0.121 344.9)

  • #5A3A00

    #5A3A00

    oklch(37.7% 0.08 74.4)

  • #004E37

    #004E37

    oklch(37.6% 0.079 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04407F 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.