#1F1D4B
Closest named color: Oxford Blue (#1B263B). oklch(26.2% 0.083 281), rgb(31, 29, 75).
Aa
White text reads best on this color (15.72:1).
About this color
#1F1D4B is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.083 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.045 away. White text reads best on it, at 15.72:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.083) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.33:1 |
| White text | 15.72:1 |
Values
| HEX | #1F1D4B |
| RGB | rgb(31, 29, 75) |
| HSL | hsl(243, 44%, 20%) |
| OKLCH | oklch(26.2% 0.083 281) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #1F1D4B | 15.72:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #1F1D4B | 1.33:1 | Fails | Lc 0.0 | Not readable |
| #1F1D4B text on white | 15.72:1 | AAA | Lc 102.5 | Preferred for body text |
| #1F1D4B text on black | 1.33: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.
-
Step 50
50
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FD
oklch(93.6% 0.028 281.5)
-
Step 200
200
#D2D6FD
oklch(88.5% 0.054 280.6)
-
Step 300
300
#B5BAFF
oklch(81% 0.097 280.8)
-
Step 400
400
#9192FF
oklch(70.7% 0.157 281.2)
-
Step 500
500
#7972FD
oklch(63% 0.2 281.2)
-
Step 600
600
#6456EC
oklch(55.6% 0.217 280.9)
-
Step 700
700
#5444CE
oklch(49.1% 0.203 281.1)
-
Step 800
800
#443AA6
oklch(42.7% 0.167 280.8)
-
Step 900
900
#383384
oklch(37.6% 0.131 280.8)
-
Step 950
950 (this color)
#1F1D4B
oklch(26.2% 0.083 281)
#1F1D4B 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #02254D | 0.038 |
| Deuteranopia (no green cones) | #00214A | 0.038 |
| Tritanopia (no blue cones) | #0C2730 | 0.071 |
| Achromatopsia (no color) | #232323 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F1D4B
#1F1D4B
oklch(26.2% 0.083 281)
- #2A2500
#2A2500
oklch(26.2% 0.055 101.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1F1D4B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.045
- Dark Indigo #1F0954 ΔE 0.047
- Dark #1B2431 ΔE 0.058
- Marine #042E60 ΔE 0.061
- Space Cadet #2B2D42 ΔE 0.062
- Navy Blue #001146 ΔE 0.063
- Midnight Blue #191970 ΔE 0.068
- Dark Purple #35063E ΔE 0.069
Use #1F1D4B 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.