#04335A

Closest named color: Marine (#042E60). oklch(31.5% 0.084 249.6), rgb(4, 51, 90).

Aa

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

About this color

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

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

Values

HEX#04335A
RGBrgb(4, 51, 90)
HSLhsl(207, 91%, 18%)
OKLCHoklch(31.5% 0.084 249.6)

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 #04335A 12.91:1 AAA Lc -102.0 Preferred for body text
Black text on #04335A 1.62:1 Fails Lc 0.0 Not readable
#04335A text on white 12.91:1 AAA Lc 98.7 Preferred for body text
#04335A 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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DCECFD

    oklch(93.6% 0.029 249.8)

  3. Step 200

    200

    #BEDDFD

    oklch(88.5% 0.055 249.3)

  4. Step 300

    300

    #8EC6FF

    oklch(80.9% 0.1 249.6)

  5. Step 400

    400

    #44A5FF

    oklch(70.6% 0.16 249.8)

  6. Step 500

    500

    #008DEE

    oklch(63.2% 0.176 249.3)

  7. Step 600

    600

    #0076CA

    oklch(55.7% 0.156 249.7)

  8. Step 700

    700

    #0063AB

    oklch(49.2% 0.138 249.7)

  9. Step 800

    800

    #00518D

    oklch(42.7% 0.12 249.5)

  10. Step 900

    900

    #004377

    oklch(37.7% 0.106 249.9)

  11. Step 950

    950 (this color)

    #04335A

    oklch(31.5% 0.084 249.6)

Export this scale for Tailwind in the Tailwind colors tool

#04335A 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)#20365C0.027
Deuteranopia (no green cones)#112E590.016
Tritanopia (no blue cones)#003C420.059
Achromatopsia (no color)#3232320.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #04335A

    #04335A

    oklch(31.5% 0.084 249.6)

  • #472A00

    #472A00

    oklch(31.4% 0.068 69.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04335A

    #04335A

    oklch(31.5% 0.084 249.6)

  • #003845

    #003845

    oklch(31.5% 0.057 219)

  • #2A2B5B

    #2A2B5B

    oklch(31.6% 0.084 279.5)

Open the analogous palette in the generator

Split complementary

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

  • #04335A

    #04335A

    oklch(31.5% 0.084 249.6)

  • #541F0C

    #541F0C

    oklch(31.6% 0.084 39.2)

  • #3A3200

    #3A3200

    oklch(31.6% 0.066 99.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04335A

    #04335A

    oklch(31.5% 0.084 249.6)

  • #541B28

    #541B28

    oklch(31.5% 0.085 9.5)

  • #233900

    #233900

    oklch(31.4% 0.084 129.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04335A

    #04335A

    oklch(31.5% 0.084 249.6)

  • #4C1E3F

    #4C1E3F

    oklch(31.5% 0.083 339.6)

  • #472A00

    #472A00

    oklch(31.4% 0.068 69.8)

  • #003C24

    #003C24

    oklch(31.4% 0.072 159.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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