#08213F

Closest named color: Oxford Blue (#1B263B). oklch(24.7% 0.065 255), rgb(8, 33, 63).

Aa

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

About this color

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

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

Values

HEX#08213F
RGBrgb(8, 33, 63)
HSLhsl(213, 77%, 14%)
OKLCHoklch(24.7% 0.065 255)

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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #9FC4F2

    oklch(81% 0.077 254.1)

  5. Step 400

    400

    #6AA3EC

    oklch(70.7% 0.123 255.2)

  6. Step 500

    500

    #3F8AE6

    oklch(63.1% 0.157 255.2)

  7. Step 600

    600

    #1772D4

    oklch(55.7% 0.171 254.9)

  8. Step 700

    700

    #055FB7

    oklch(49.1% 0.158 254.8)

  9. Step 800

    800

    #0C4E94

    oklch(42.7% 0.131 254.7)

  10. Step 900

    900

    #154176

    oklch(37.6% 0.102 255.3)

  11. Step 950

    950 (this color)

    #08213F

    oklch(24.7% 0.065 255)

Export this scale for Tailwind in the Tailwind colors tool

#08213F 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.014
Deuteranopia (no green cones)#091E3E0.010
Tritanopia (no blue cones)#00282C0.050
Achromatopsia (no color)#2121210.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #08213F

    #08213F

    oklch(24.7% 0.065 255)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08213F

    #08213F

    oklch(24.7% 0.065 255)

  • #002532

    #002532

    oklch(24.6% 0.047 226.4)

  • #1E1B3E

    #1E1B3E

    oklch(24.6% 0.065 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #08213F

    #08213F

    oklch(24.7% 0.065 255)

  • #391503

    #391503

    oklch(24.8% 0.064 45.7)

  • #252200

    #252200

    oklch(24.7% 0.052 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08213F

    #08213F

    oklch(24.7% 0.065 255)

  • #3A1117

    #3A1117

    oklch(24.7% 0.065 14.4)

  • #122704

    #122704

    oklch(24.6% 0.064 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08213F

    #08213F

    oklch(24.7% 0.065 255)

  • #361228

    #361228

    oklch(24.8% 0.065 345.3)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #00291B

    #00291B

    oklch(24.9% 0.052 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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