#1A1940
Closest named color: Oxford Blue (#1B263B). oklch(24% 0.072 280.6), rgb(26, 25, 64).
Aa
White text reads best on this color (16.70:1).
About this color
#1A1940 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.072 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 16.70:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.25:1 |
| White text | 16.70:1 |
Values
| HEX | #1A1940 |
| RGB | rgb(26, 25, 64) |
| HSL | hsl(242, 44%, 17%) |
| OKLCH | oklch(24% 0.072 280.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #1A1940 | 16.70:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #1A1940 | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #1A1940 text on white | 16.70:1 | AAA | Lc 103.5 | Preferred for body text |
| #1A1940 text on black | 1.25: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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D3D6F9
oklch(88.5% 0.048 281.5)
-
Step 300
300
#B6BBF7
oklch(80.9% 0.085 280.6)
-
Step 400
400
#9295F3
oklch(70.7% 0.136 280.9)
-
Step 500
500
#7978EF
oklch(63.2% 0.174 280.6)
-
Step 600
600
#645DDE
oklch(55.6% 0.19 280.7)
-
Step 700
700
#534CC0
oklch(49.1% 0.176 280.4)
-
Step 800
800
#443F9C
oklch(42.8% 0.147 280.6)
-
Step 900
900
#38377C
oklch(37.8% 0.114 280.1)
-
Step 950
950 (this color)
#1A1940
oklch(24% 0.072 280.6)
#1A1940 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) | #041F41 | 0.031 |
| Deuteranopia (no green cones) | #021C3F | 0.032 |
| Tritanopia (no blue cones) | #0A2229 | 0.063 |
| Achromatopsia (no color) | #1E1E1E | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1A1940
#1A1940
oklch(24% 0.072 280.6)
- #251F00
#251F00
oklch(23.9% 0.049 98.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 #1A1940, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.045
- Rich Black #0D1B2A ΔE 0.050
- Navy Blue #001146 ΔE 0.050
- Dark Indigo #1F0954 ΔE 0.050
- Dark #1B2431 ΔE 0.051
- Midnight Purple #280137 ΔE 0.065
- Dark Purple #35063E ΔE 0.068
- Very Dark Purple #2A0134 ΔE 0.068
Use #1A1940 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.