#04213F

Closest named color: Oxford Blue (#1B263B). oklch(24.6% 0.067 252.4), rgb(4, 33, 63).

Aa

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

About this color

#04213F is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.067 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.035 away. White text reads best on it, at 16.22:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamuted (0.067)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.29:1
White text16.22:1

Values

HEX#04213F
RGBrgb(4, 33, 63)
HSLhsl(211, 88%, 13%)
OKLCHoklch(24.6% 0.067 252.4)

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 #04213F 16.22:1 AAA Lc -105.5 Preferred for body text
Black text on #04213F 1.29:1 Fails Lc 0.0 Not readable
#04213F text on white 16.22:1 AAA Lc 102.9 Preferred for body text
#04213F text on black 1.29: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF6

    oklch(88.6% 0.044 251.5)

  4. Step 300

    300

    #9CC4F3

    oklch(80.8% 0.079 252.8)

  5. Step 400

    400

    #63A4ED

    oklch(70.6% 0.127 252.5)

  6. Step 500

    500

    #328BE7

    oklch(63% 0.162 252.6)

  7. Step 600

    600

    #0074D1

    oklch(55.7% 0.167 252.1)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #004F93

    oklch(42.7% 0.13 252.6)

  10. Step 900

    900

    #0B4277

    oklch(37.6% 0.105 252.5)

  11. Step 950

    950 (this color)

    #04213F

    oklch(24.6% 0.067 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#04213F 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)#1223400.017
Deuteranopia (no green cones)#071E3E0.010
Tritanopia (no blue cones)#00282C0.050
Achromatopsia (no color)#2020200.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #04213F

    #04213F

    oklch(24.6% 0.067 252.4)

  • #301C00

    #301C00

    oklch(24.7% 0.053 72.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04213F

    #04213F

    oklch(24.6% 0.067 252.4)

  • #002530

    #002530

    oklch(24.5% 0.045 222.3)

  • #1D1B3F

    #1D1B3F

    oklch(24.6% 0.066 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #04213F

    #04213F

    oklch(24.6% 0.067 252.4)

  • #3A1303

    #3A1303

    oklch(24.6% 0.067 42.3)

  • #252100

    #252100

    oklch(24.5% 0.051 102.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04213F

    #04213F

    oklch(24.6% 0.067 252.4)

  • #3A1018

    #3A1018

    oklch(24.6% 0.067 12)

  • #142701

    #142701

    oklch(24.7% 0.067 132.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04213F

    #04213F

    oklch(24.6% 0.067 252.4)

  • #351129

    #351129

    oklch(24.5% 0.067 342.5)

  • #301C00

    #301C00

    oklch(24.7% 0.053 72.4)

  • #002819

    #002819

    oklch(24.5% 0.053 163.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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