#1F1D47

Closest named color: Oxford Blue (#1B263B). oklch(25.9% 0.076 281.8), rgb(31, 29, 71).

Aa

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

About this color

#1F1D47 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.076 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.040 away. White text reads best on it, at 15.84:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.84:1

Values

HEX#1F1D47
RGBrgb(31, 29, 71)
HSLhsl(243, 42%, 20%)
OKLCHoklch(25.9% 0.076 281.8)

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 #1F1D47 15.84:1 AAA Lc -105.3 Preferred for body text
Black text on #1F1D47 1.32:1 Fails Lc 0.0 Not readable
#1F1D47 text on white 15.84:1 AAA Lc 102.7 Preferred for body text
#1F1D47 text on black 1.32: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6FA

    oklch(88.5% 0.05 281.6)

  4. Step 300

    300

    #B7BAFA

    oklch(80.9% 0.09 282.1)

  5. Step 400

    400

    #9394F8

    oklch(70.8% 0.144 281.6)

  6. Step 500

    500

    #7B75F4

    oklch(63.1% 0.184 281.8)

  7. Step 600

    600

    #665AE3

    oklch(55.7% 0.2 281.6)

  8. Step 700

    700

    #5548C5

    oklch(49% 0.187 281.7)

  9. Step 800

    800

    #463C9F

    oklch(42.6% 0.154 282.2)

  10. Step 900

    900

    #3A357E

    oklch(37.7% 0.12 282.1)

  11. Step 950

    950 (this color)

    #1F1D47

    oklch(25.9% 0.076 281.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F1D47 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)#0724480.034
Deuteranopia (no green cones)#0421460.035
Tritanopia (no blue cones)#10262E0.065
Achromatopsia (no color)#2222220.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F1D47

    #1F1D47

    oklch(25.9% 0.076 281.8)

  • #292400

    #292400

    oklch(25.8% 0.054 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1D47

    #1F1D47

    oklch(25.9% 0.076 281.8)

  • #012447

    #012447

    oklch(25.9% 0.076 252.2)

  • #30173E

    #30173E

    oklch(26% 0.075 311.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F1D47

    #1F1D47

    oklch(25.9% 0.076 281.8)

  • #341E00

    #341E00

    oklch(25.8% 0.056 70.9)

  • #162A00

    #162A00

    oklch(25.8% 0.071 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1D47

    #1F1D47

    oklch(25.9% 0.076 281.8)

  • #401301

    #401301

    oklch(25.8% 0.076 41.8)

  • #002C1B

    #002C1B

    oklch(25.9% 0.057 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1D47

    #1F1D47

    oklch(25.9% 0.076 281.8)

  • #41101A

    #41101A

    oklch(26% 0.076 12)

  • #292400

    #292400

    oklch(25.8% 0.054 101.6)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F1D47 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.