#18213F

Closest named color: Oxford Blue (#1B263B). oklch(25.6% 0.058 269.4), rgb(24, 33, 63).

Aa

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

About this color

#18213F is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.058 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.021 away. White text reads best on it, at 15.81:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.81:1

Values

HEX#18213F
RGBrgb(24, 33, 63)
HSLhsl(226, 45%, 17%)
OKLCHoklch(25.6% 0.058 269.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 #18213F 15.81:1 AAA Lc -105.3 Preferred for body text
Black text on #18213F 1.32:1 Fails Lc 0.0 Not readable
#18213F text on white 15.81:1 AAA Lc 102.7 Preferred for body text
#18213F 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #859DE6

    oklch(70.7% 0.111 269.5)

  6. Step 500

    500

    #6883DE

    oklch(63.1% 0.14 269.6)

  7. Step 600

    600

    #506BCC

    oklch(55.7% 0.153 269.3)

  8. Step 700

    700

    #4158B0

    oklch(49% 0.142 269.5)

  9. Step 800

    800

    #36498F

    oklch(42.8% 0.118 269.5)

  10. Step 900

    900

    #2E3E72

    oklch(37.8% 0.091 268.9)

  11. Step 950

    950 (this color)

    #18213F

    oklch(25.6% 0.058 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#18213F 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)#1424400.010
Deuteranopia (no green cones)#10213E0.011
Tritanopia (no blue cones)#05282C0.054
Achromatopsia (no color)#2323230.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #18213F

    #18213F

    oklch(25.6% 0.058 269.4)

  • #2D2100

    #2D2100

    oklch(25.5% 0.052 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18213F

    #18213F

    oklch(25.6% 0.058 269.4)

  • #00263C

    #00263C

    oklch(25.6% 0.058 239.7)

  • #271C3B

    #271C3B

    oklch(25.6% 0.058 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #18213F

    #18213F

    oklch(25.6% 0.058 269.4)

  • #371B02

    #371B02

    oklch(25.6% 0.058 58.9)

  • #202702

    #202702

    oklch(25.7% 0.058 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18213F

    #18213F

    oklch(25.6% 0.058 269.4)

  • #3B1712

    #3B1712

    oklch(25.8% 0.058 29.7)

  • #0A2B13

    #0A2B13

    oklch(25.8% 0.059 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18213F

    #18213F

    oklch(25.6% 0.058 269.4)

  • #391622

    #391622

    oklch(25.7% 0.058 0.3)

  • #2D2100

    #2D2100

    oklch(25.5% 0.052 88.6)

  • #002A24

    #002A24

    oklch(25.5% 0.046 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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