#05213D

Closest named color: Oxford Blue (#1B263B). oklch(24.4% 0.063 251.6), rgb(5, 33, 61).

Aa

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

About this color

#05213D is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.063 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 16.26:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.063)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.29:1
White text16.26:1

Values

HEX#05213D
RGBrgb(5, 33, 61)
HSLhsl(210, 85%, 13%)
OKLCHoklch(24.4% 0.063 251.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 #05213D 16.26:1 AAA Lc -105.5 Preferred for body text
Black text on #05213D 1.29:1 Fails Lc 0.0 Not readable
#05213D text on white 16.26:1 AAA Lc 103.0 Preferred for body text
#05213D 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DCF4

    oklch(88.6% 0.041 250.6)

  4. Step 300

    300

    #9EC4F0

    oklch(80.8% 0.075 252.4)

  5. Step 400

    400

    #66A5E9

    oklch(70.8% 0.12 251.5)

  6. Step 500

    500

    #378CE2

    oklch(63.1% 0.153 251.8)

  7. Step 600

    600

    #0074CF

    oklch(55.5% 0.165 251.7)

  8. Step 700

    700

    #0062AF

    oklch(49.2% 0.144 251.3)

  9. Step 800

    800

    #005091

    oklch(42.8% 0.126 251.5)

  10. Step 900

    900

    #0F4374

    oklch(37.8% 0.099 251.4)

  11. Step 950

    950 (this color)

    #05213D

    oklch(24.4% 0.063 251.6)

Export this scale for Tailwind in the Tailwind colors tool

#05213D 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)#13233E0.018
Deuteranopia (no green cones)#0A1E3C0.010
Tritanopia (no blue cones)#00282C0.047
Achromatopsia (no color)#2020200.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #05213D

    #05213D

    oklch(24.4% 0.063 251.6)

  • #2F1B00

    #2F1B00

    oklch(24.3% 0.052 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05213D

    #05213D

    oklch(24.4% 0.063 251.6)

  • #00252F

    #00252F

    oklch(24.5% 0.045 220.2)

  • #1C1B3D

    #1C1B3D

    oklch(24.4% 0.063 282)

Open the analogous palette in the generator

Split complementary

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

  • #05213D

    #05213D

    oklch(24.4% 0.063 251.6)

  • #381405

    #381405

    oklch(24.5% 0.063 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.

  • #05213D

    #05213D

    oklch(24.4% 0.063 251.6)

  • #381118

    #381118

    oklch(24.3% 0.062 12)

  • #152602

    #152602

    oklch(24.4% 0.063 131.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05213D

    #05213D

    oklch(24.4% 0.063 251.6)

  • #341229

    #341229

    oklch(24.5% 0.064 341.7)

  • #2F1B00

    #2F1B00

    oklch(24.3% 0.052 71.6)

  • #002818

    #002818

    oklch(24.5% 0.054 161.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05213D 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.