#04335B

Closest named color: Marine (#042E60). oklch(31.6% 0.086 250.2), rgb(4, 51, 91).

Aa

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

About this color

#04335B is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.086 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.019 away. White text reads best on it, at 12.88:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.62:1
White text12.88:1

Values

HEX#04335B
RGBrgb(4, 51, 91)
HSLhsl(208, 92%, 19%)
OKLCHoklch(31.6% 0.086 250.2)

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 #04335B 12.88:1 AAA Lc -102.0 Preferred for body text
Black text on #04335B 1.62:1 Fails Lc 0.0 Not readable
#04335B text on white 12.88:1 AAA Lc 98.6 Preferred for body text
#04335B text on black 1.62:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DCECFD

    oklch(93.6% 0.029 249.8)

  3. Step 200

    200

    #BEDDFE

    oklch(88.6% 0.056 250.1)

  4. Step 300

    300

    #8FC6FF

    oklch(81% 0.099 250)

  5. Step 400

    400

    #46A5FF

    oklch(70.7% 0.159 250.1)

  6. Step 500

    500

    #008CF0

    oklch(63.1% 0.179 250.1)

  7. Step 600

    600

    #0075CB

    oklch(55.5% 0.159 250.4)

  8. Step 700

    700

    #0063AC

    oklch(49.2% 0.139 250)

  9. Step 800

    800

    #00518E

    oklch(42.8% 0.121 249.9)

  10. Step 900

    900

    #004378

    oklch(37.8% 0.108 250.3)

  11. Step 950

    950 (this color)

    #04335B

    oklch(31.6% 0.086 250.2)

Export this scale for Tailwind in the Tailwind colors tool

#04335B 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)#1F365D0.026
Deuteranopia (no green cones)#102E5A0.016
Tritanopia (no blue cones)#003D420.063
Achromatopsia (no color)#3232320.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #04335B

    #04335B

    oklch(31.6% 0.086 250.2)

  • #472A00

    #472A00

    oklch(31.4% 0.068 69.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04335B

    #04335B

    oklch(31.6% 0.086 250.2)

  • #003846

    #003846

    oklch(31.5% 0.058 220.6)

  • #2B2B5C

    #2B2B5C

    oklch(31.7% 0.085 280.4)

Open the analogous palette in the generator

Split complementary

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

  • #04335B

    #04335B

    oklch(31.6% 0.086 250.2)

  • #541F0A

    #541F0A

    oklch(31.6% 0.085 40.3)

  • #3A3200

    #3A3200

    oklch(31.6% 0.066 99.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04335B

    #04335B

    oklch(31.6% 0.086 250.2)

  • #541B28

    #541B28

    oklch(31.5% 0.085 9.5)

  • #233A00

    #233A00

    oklch(31.7% 0.085 130)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04335B

    #04335B

    oklch(31.6% 0.086 250.2)

  • #4D1D3F

    #4D1D3F

    oklch(31.5% 0.086 340.2)

  • #472A00

    #472A00

    oklch(31.4% 0.068 69.8)

  • #003C25

    #003C25

    oklch(31.4% 0.071 160.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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