#251E4C

Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.082 286.6), rgb(37, 30, 76).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.34:1

Values

HEX#251E4C
RGBrgb(37, 30, 76)
HSLhsl(249, 43%, 21%)
OKLCHoklch(27.1% 0.082 286.6)

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 #251E4C 15.34:1 AAA Lc -104.8 Preferred for body text
Black text on #251E4C 1.36:1 Fails Lc 0.0 Not readable
#251E4C text on white 15.34:1 AAA Lc 102.1 Preferred for body text
#251E4C text on black 1.36: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

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D6D5FC

    oklch(88.6% 0.053 286.4)

  4. Step 300

    300

    #BBB8FD

    oklch(81% 0.097 286)

  5. Step 400

    400

    #9B8FFB

    oklch(70.7% 0.155 286.8)

  6. Step 500

    500

    #856FF9

    oklch(63.2% 0.198 286.6)

  7. Step 600

    600

    #7152E8

    oklch(55.7% 0.215 286.7)

  8. Step 700

    700

    #5F41CA

    oklch(49.2% 0.2 286.5)

  9. Step 800

    800

    #4D37A3

    oklch(42.8% 0.165 286.5)

  10. Step 900

    900

    #3F3181

    oklch(37.6% 0.129 286.5)

  11. Step 950

    950 (this color)

    #251E4C

    oklch(27.1% 0.082 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#251E4C 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)#06264E0.043
Deuteranopia (no green cones)#05244B0.043
Tritanopia (no blue cones)#1828310.069
Achromatopsia (no color)#2525250.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #251E4C

    #251E4C

    oklch(27.1% 0.082 286.6)

  • #2A2800

    #2A2800

    oklch(27% 0.058 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #251E4C

    #251E4C

    oklch(27.1% 0.082 286.6)

  • #07264E

    #07264E

    oklch(27.2% 0.082 256.7)

  • #361741

    #361741

    oklch(27.1% 0.082 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #251E4C

    #251E4C

    oklch(27.1% 0.082 286.6)

  • #362200

    #362200

    oklch(27% 0.057 76.3)

  • #112F00

    #112F00

    oklch(27.1% 0.081 136.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #251E4C

    #251E4C

    oklch(27.1% 0.082 286.6)

  • #431800

    #431800

    oklch(27.2% 0.075 46.9)

  • #002F21

    #002F21

    oklch(27.1% 0.055 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #251E4C

    #251E4C

    oklch(27.1% 0.082 286.6)

  • #471118

    #471118

    oklch(27.3% 0.082 17.1)

  • #2A2800

    #2A2800

    oklch(27% 0.058 106.8)

  • #002E2E

    #002E2E

    oklch(27.3% 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 #251E4C, closest first.

Similar named colors

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

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