#201F4A

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.078 280.8), rgb(32, 31, 74).

Aa

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

About this color

#201F4A is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.078 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.040 away. White text reads best on it, at 15.48:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.48:1

Values

HEX#201F4A
RGBrgb(32, 31, 74)
HSLhsl(241, 41%, 21%)
OKLCHoklch(26.7% 0.078 280.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 #201F4A 15.48:1 AAA Lc -105.0 Preferred for body text
Black text on #201F4A 1.35:1 Fails Lc 0.0 Not readable
#201F4A text on white 15.48:1 AAA Lc 102.3 Preferred for body text
#201F4A text on black 1.35: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B5BAFB

    oklch(80.8% 0.092 280.7)

  5. Step 400

    400

    #9194FA

    oklch(70.8% 0.147 280.7)

  6. Step 500

    500

    #7975F6

    oklch(63.1% 0.187 281)

  7. Step 600

    600

    #6459E5

    oklch(55.5% 0.204 280.9)

  8. Step 700

    700

    #5348C7

    oklch(49% 0.19 280.7)

  9. Step 800

    800

    #443CA1

    oklch(42.6% 0.157 280.9)

  10. Step 900

    900

    #383580

    oklch(37.7% 0.123 280.5)

  11. Step 950

    950 (this color)

    #201F4A

    oklch(26.7% 0.078 280.8)

Export this scale for Tailwind in the Tailwind colors tool

#201F4A 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)#09264C0.033
Deuteranopia (no green cones)#0523490.034
Tritanopia (no blue cones)#0F29310.067
Achromatopsia (no color)#2424240.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #201F4A

    #201F4A

    oklch(26.7% 0.078 280.8)

  • #2C2600

    #2C2600

    oklch(26.7% 0.056 100.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #201F4A

    #201F4A

    oklch(26.7% 0.078 280.8)

  • #002649

    #002649

    oklch(26.6% 0.077 250.9)

  • #321841

    #321841

    oklch(26.7% 0.078 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #201F4A

    #201F4A

    oklch(26.7% 0.078 280.8)

  • #372000

    #372000

    oklch(26.7% 0.058 70.9)

  • #192C00

    #192C00

    oklch(26.6% 0.072 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #201F4A

    #201F4A

    oklch(26.7% 0.078 280.8)

  • #431503

    #431503

    oklch(26.7% 0.077 40.8)

  • #002E1C

    #002E1C

    oklch(26.6% 0.059 161.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #201F4A

    #201F4A

    oklch(26.7% 0.078 280.8)

  • #43111C

    #43111C

    oklch(26.6% 0.077 10.9)

  • #2C2600

    #2C2600

    oklch(26.7% 0.056 100.3)

  • #002D2B

    #002D2B

    oklch(26.8% 0.046 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #201F4A 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.