#251F4E

Closest named color: Oxford Blue (#1B263B). oklch(27.5% 0.083 285.3), rgb(37, 31, 78).

Aa

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

About this color

#251F4E is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.083 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.048 away. White text reads best on it, at 15.16:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.16:1

Values

HEX#251F4E
RGBrgb(37, 31, 78)
HSLhsl(248, 43%, 21%)
OKLCHoklch(27.5% 0.083 285.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 #251F4E 15.16:1 AAA Lc -104.7 Preferred for body text
Black text on #251F4E 1.38:1 Fails Lc 0.0 Not readable
#251F4E text on white 15.16:1 AAA Lc 101.9 Preferred for body text
#251F4E text on black 1.38: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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BAB8FE

    oklch(80.9% 0.098 285.3)

  5. Step 400

    400

    #988FFE

    oklch(70.6% 0.159 285.3)

  6. Step 500

    500

    #826FFC

    oklch(63.1% 0.202 285.2)

  7. Step 600

    600

    #6E51EB

    oklch(55.5% 0.22 285.3)

  8. Step 700

    700

    #5D40CC

    oklch(49% 0.204 285.6)

  9. Step 800

    800

    #4B37A5

    oklch(42.8% 0.168 285.1)

  10. Step 900

    900

    #3E3183

    oklch(37.7% 0.132 285.4)

  11. Step 950

    950 (this color)

    #251F4E

    oklch(27.5% 0.083 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#251F4E 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)#0527500.043
Deuteranopia (no green cones)#04244D0.043
Tritanopia (no blue cones)#1729330.069
Achromatopsia (no color)#2626260.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #251F4E

    #251F4E

    oklch(27.5% 0.083 285.3)

  • #2C2900

    #2C2900

    oklch(27.5% 0.059 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #251F4E

    #251F4E

    oklch(27.5% 0.083 285.3)

  • #05274F

    #05274F

    oklch(27.5% 0.083 255.4)

  • #371843

    #371843

    oklch(27.6% 0.084 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #251F4E

    #251F4E

    oklch(27.5% 0.083 285.3)

  • #382300

    #382300

    oklch(27.6% 0.058 75.5)

  • #143000

    #143000

    oklch(27.6% 0.081 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #251F4E

    #251F4E

    oklch(27.5% 0.083 285.3)

  • #451800

    #451800

    oklch(27.5% 0.078 45.8)

  • #003021

    #003021

    oklch(27.4% 0.057 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #251F4E

    #251F4E

    oklch(27.5% 0.083 285.3)

  • #48111A

    #48111A

    oklch(27.5% 0.083 15.1)

  • #2C2900

    #2C2900

    oklch(27.5% 0.059 105.4)

  • #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 #251F4E, closest first.

Similar named colors

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

Use #251F4E 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.