#251F41

Closest named color: Oxford Blue (#1B263B). oklch(26.5% 0.062 289.6), rgb(37, 31, 65).

Aa

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

About this color

#251F41 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.062 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.031 away. White text reads best on it, at 15.54:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.062)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.54:1

Values

HEX#251F41
RGBrgb(37, 31, 65)
HSLhsl(251, 35%, 19%)
OKLCHoklch(26.5% 0.062 289.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 #251F41 15.54:1 AAA Lc -105.1 Preferred for body text
Black text on #251F41 1.35:1 Fails Lc 0.0 Not readable
#251F41 text on white 15.54:1 AAA Lc 102.4 Preferred for body text
#251F41 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9EE

    oklch(80.9% 0.074 289.8)

  5. Step 400

    400

    #9F94E5

    oklch(70.8% 0.117 289.3)

  6. Step 500

    500

    #8977DD

    oklch(63.1% 0.15 289.5)

  7. Step 600

    600

    #745DCB

    oklch(55.6% 0.164 289.6)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #4F3F8E

    oklch(42.7% 0.126 289.3)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950 (this color)

    #251F41

    oklch(26.5% 0.062 289.6)

Export this scale for Tailwind in the Tailwind colors tool

#251F41 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)#1325420.032
Deuteranopia (no green cones)#1323400.030
Tritanopia (no blue cones)#1E262C0.053
Achromatopsia (no color)#2424240.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #272700

    #272700

    oklch(26.4% 0.058 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #122543

    #122543

    oklch(26.6% 0.062 259.2)

  • #321A38

    #321A38

    oklch(26.5% 0.062 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #332100

    #332100

    oklch(26.4% 0.055 78.7)

  • #132C0D

    #132C0D

    oklch(26.4% 0.062 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #3C1A05

    #3C1A05

    oklch(26.3% 0.062 49.3)

  • #002D21

    #002D21

    oklch(26.4% 0.052 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #251F41

    #251F41

    oklch(26.5% 0.062 289.6)

  • #3E1719

    #3E1719

    oklch(26.5% 0.061 19.1)

  • #272700

    #272700

    oklch(26.4% 0.058 109.8)

  • #002C2E

    #002C2E

    oklch(26.6% 0.045 199.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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