#04296F

Closest named color: Marine (#042E60). oklch(30.9% 0.128 261.5), rgb(4, 41, 111).

Aa

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

About this color

#04296F is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.128 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.031 away. White text reads best on it, at 13.53:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.55:1
White text13.53:1

Values

HEX#04296F
RGBrgb(4, 41, 111)
HSLhsl(219, 93%, 23%)
OKLCHoklch(30.9% 0.128 261.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 #04296F 13.53:1 AAA Lc -102.6 Preferred for body text
Black text on #04296F 1.55:1 Fails Lc 0.0 Not readable
#04296F text on white 13.53:1 AAA Lc 99.4 Preferred for body text
#04296F text on black 1.55: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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFF

    oklch(93.7% 0.03 260.7)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9EC1FF

    oklch(80.8% 0.096 261.6)

  5. Step 400

    400

    #699EFF

    oklch(70.6% 0.153 261.6)

  6. Step 500

    500

    #4082FF

    oklch(63.1% 0.198 261.6)

  7. Step 600

    600

    #0462FF

    oklch(55.6% 0.245 261.5)

  8. Step 700

    700

    #0051DA

    oklch(49.1% 0.22 261.5)

  9. Step 800

    800

    #0042B5

    oklch(42.8% 0.191 261.5)

  10. Step 900

    900

    #003699

    oklch(37.7% 0.169 261.6)

  11. Step 950

    950 (this color)

    #04296F

    oklch(30.9% 0.128 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#04296F 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)#0033710.027
Deuteranopia (no green cones)#002A6E0.004
Tritanopia (no blue cones)#003B470.098
Achromatopsia (no color)#2E2E2E0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #04296F

    #04296F

    oklch(30.9% 0.128 261.5)

  • #402C00

    #402C00

    oklch(30.9% 0.064 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04296F

    #04296F

    oklch(30.9% 0.128 261.5)

  • #00354A

    #00354A

    oklch(30.9% 0.063 231.7)

  • #341B6A

    #341B6A

    oklch(30.9% 0.129 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #04296F

    #04296F

    oklch(30.9% 0.128 261.5)

  • #4E2100

    #4E2100

    oklch(30.7% 0.08 51.1)

  • #313300

    #313300

    oklch(30.9% 0.068 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04296F

    #04296F

    oklch(30.9% 0.128 261.5)

  • #600011

    #600011

    oklch(30.9% 0.124 21.3)

  • #053C00

    #053C00

    oklch(31% 0.103 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04296F

    #04296F

    oklch(30.9% 0.128 261.5)

  • #5B0037

    #5B0037

    oklch(31% 0.128 351.8)

  • #402C00

    #402C00

    oklch(30.9% 0.064 81.6)

  • #003A2C

    #003A2C

    oklch(31% 0.061 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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