#252249

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.07 284.3), rgb(37, 34, 73).

Aa

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

About this color

#252249 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.070 and its hue 284°. 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 14.96:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.96:1

Values

HEX#252249
RGBrgb(37, 34, 73)
HSLhsl(245, 36%, 21%)
OKLCHoklch(27.8% 0.07 284.3)

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 #252249 14.96:1 AAA Lc -104.5 Preferred for body text
Black text on #252249 1.40:1 Fails Lc 0.0 Not readable
#252249 text on white 14.96:1 AAA Lc 101.7 Preferred for body text
#252249 text on black 1.40: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF5

    oklch(81% 0.083 284.4)

  5. Step 400

    400

    #9894F0

    oklch(70.8% 0.133 284.5)

  6. Step 500

    500

    #8076EB

    oklch(63.1% 0.17 284.3)

  7. Step 600

    600

    #6B5CD9

    oklch(55.6% 0.184 284.1)

  8. Step 700

    700

    #5A4ABC

    oklch(49% 0.172 284.5)

  9. Step 800

    800

    #493E98

    oklch(42.7% 0.142 284.2)

  10. Step 900

    900

    #3D3679

    oklch(37.8% 0.11 284.5)

  11. Step 950

    950 (this color)

    #252249

    oklch(27.8% 0.07 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#252249 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)#12284A0.031
Deuteranopia (no green cones)#1026480.031
Tritanopia (no blue cones)#1A2A320.059
Achromatopsia (no color)#2727270.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #252249

    #252249

    oklch(27.8% 0.07 284.3)

  • #2D2900

    #2D2900

    oklch(27.7% 0.058 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252249

    #252249

    oklch(27.8% 0.07 284.3)

  • #0C294A

    #0C294A

    oklch(27.9% 0.07 254)

  • #351C40

    #351C40

    oklch(27.8% 0.071 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #252249

    #252249

    oklch(27.8% 0.07 284.3)

  • #392300

    #392300

    oklch(27.7% 0.059 74.1)

  • #192F07

    #192F07

    oklch(27.7% 0.069 133.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252249

    #252249

    oklch(27.8% 0.07 284.3)

  • #431B06

    #431B06

    oklch(27.8% 0.069 45.5)

  • #003120

    #003120

    oklch(27.7% 0.059 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252249

    #252249

    oklch(27.8% 0.07 284.3)

  • #44171D

    #44171D

    oklch(27.7% 0.07 14.8)

  • #2D2900

    #2D2900

    oklch(27.7% 0.058 103.9)

  • #002F2F

    #002F2F

    oklch(27.6% 0.047 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #252249 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.