#252138

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.043 291.2), rgb(37, 33, 56).

Aa

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

About this color

#252138 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.043 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.022 away. White text reads best on it, at 15.51:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.043)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.51:1

Values

HEX#252138
RGBrgb(37, 33, 56)
HSLhsl(250, 26%, 17%)
OKLCHoklch(26.4% 0.043 291.2)

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 #252138 15.51:1 AAA Lc -105.1 Preferred for body text
Black text on #252138 1.35:1 Fails Lc 0.0 Not readable
#252138 text on white 15.51:1 AAA Lc 102.4 Preferred for body text
#252138 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300

    #C0BBDF

    oklch(80.8% 0.051 291.6)

  5. Step 400

    400

    #A098D0

    oklch(70.7% 0.081 290.7)

  6. Step 500

    500

    #8A7EC3

    oklch(63.1% 0.103 291.1)

  7. Step 600

    600

    #7466AF

    oklch(55.5% 0.112 291.1)

  8. Step 700

    700

    #625597

    oklch(49.2% 0.104 291.2)

  9. Step 800

    800

    #50457A

    oklch(42.6% 0.087 291.8)

  10. Step 900

    900

    #423B62

    oklch(37.8% 0.066 291.1)

  11. Step 950

    950 (this color)

    #252138

    oklch(26.4% 0.043 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#252138 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)#1B24390.018
Deuteranopia (no green cones)#1B24370.019
Tritanopia (no blue cones)#2125290.036
Achromatopsia (no color)#2424240.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #252138

    #252138

    oklch(26.4% 0.043 291.2)

  • #26270C

    #26270C

    oklch(26.5% 0.043 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252138

    #252138

    oklch(26.4% 0.043 291.2)

  • #19253A

    #19253A

    oklch(26.4% 0.043 261.1)

  • #2E1E31

    #2E1E31

    oklch(26.3% 0.041 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #252138

    #252138

    oklch(26.4% 0.043 291.2)

  • #2F230A

    #2F230A

    oklch(26.4% 0.043 83.2)

  • #192A16

    #192A16

    oklch(26.4% 0.043 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252138

    #252138

    oklch(26.4% 0.043 291.2)

  • #351F11

    #351F11

    oklch(26.4% 0.042 52.5)

  • #0A2C22

    #0A2C22

    oklch(26.5% 0.043 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252138

    #252138

    oklch(26.4% 0.043 291.2)

  • #371C1C

    #371C1C

    oklch(26.4% 0.043 20.3)

  • #26270C

    #26270C

    oklch(26.5% 0.043 111)

  • #032B2D

    #032B2D

    oklch(26.4% 0.042 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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