#04214A

Closest named color: Oxford Blue (#1B263B). oklch(25.5% 0.084 257.8), rgb(4, 33, 74).

Aa

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

About this color

#04214A is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.084 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.044 away. White text reads best on it, at 15.88:1.

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.88:1

Values

HEX#04214A
RGBrgb(4, 33, 74)
HSLhsl(215, 90%, 15%)
OKLCHoklch(25.5% 0.084 257.8)

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 #04214A 15.88:1 AAA Lc -105.2 Preferred for body text
Black text on #04214A 1.32:1 Fails Lc 0.0 Not readable
#04214A text on white 15.88:1 AAA Lc 102.5 Preferred for body text
#04214A text on black 1.32: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

    #DEEBFE

    oklch(93.6% 0.029 257.8)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #9AC3FF

    oklch(81% 0.096 257.8)

  5. Step 400

    400

    #60A1FF

    oklch(70.8% 0.154 257.7)

  6. Step 500

    500

    #2C85FF

    oklch(63.1% 0.2 257.8)

  7. Step 600

    600

    #006CE7

    oklch(55.5% 0.204 257.8)

  8. Step 700

    700

    #005BC4

    oklch(49.2% 0.18 257.7)

  9. Step 800

    800

    #004AA2

    oklch(42.7% 0.156 257.7)

  10. Step 900

    900

    #053E86

    oklch(37.7% 0.133 257.7)

  11. Step 950

    950 (this color)

    #04214A

    oklch(25.5% 0.084 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#04214A 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)#07254B0.014
Deuteranopia (no green cones)#001F490.008
Tritanopia (no blue cones)#002B320.063
Achromatopsia (no color)#2222220.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #04214A

    #04214A

    oklch(25.5% 0.084 257.8)

  • #311F00

    #311F00

    oklch(25.6% 0.053 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04214A

    #04214A

    oklch(25.5% 0.084 257.8)

  • #002735

    #002735

    oklch(25.4% 0.049 227.3)

  • #221948

    #221948

    oklch(25.5% 0.084 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #04214A

    #04214A

    oklch(25.5% 0.084 257.8)

  • #3C1600

    #3C1600

    oklch(25.5% 0.069 48.6)

  • #262400

    #262400

    oklch(25.4% 0.054 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04214A

    #04214A

    oklch(25.5% 0.084 257.8)

  • #420B13

    #420B13

    oklch(25.4% 0.083 17.6)

  • #0C2B00

    #0C2B00

    oklch(25.5% 0.079 137.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04214A

    #04214A

    oklch(25.5% 0.084 257.8)

  • #3D0C2A

    #3D0C2A

    oklch(25.3% 0.084 347.1)

  • #311F00

    #311F00

    oklch(25.6% 0.053 77.5)

  • #002A1E

    #002A1E

    oklch(25.3% 0.051 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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