#1A1F59
Closest named color: Midnight Blue (#191970). oklch(27.5% 0.103 273.7), rgb(26, 31, 89).
Aa
White text reads best on this color (15.17:1).
About this color
#1A1F59 is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.103 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.043 away. White text reads best on it, at 15.17:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.38:1 |
| White text | 15.17:1 |
Values
| HEX | #1A1F59 |
| RGB | rgb(26, 31, 89) |
| HSL | hsl(235, 55%, 23%) |
| OKLCH | oklch(27.5% 0.103 273.7) |
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 #1A1F59 | 15.17:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #1A1F59 | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #1A1F59 text on white | 15.17:1 | AAA | Lc 101.8 | Preferred for body text |
| #1A1F59 text on black | 1.38: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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FF
oklch(93.6% 0.03 273.6)
-
Step 200
200
#CDD7FF
oklch(88.4% 0.056 274.2)
-
Step 300
300
#ADBDFF
oklch(81% 0.095 273.6)
-
Step 400
400
#8397FF
oklch(70.7% 0.153 273.6)
-
Step 500
500
#6778FF
oklch(63% 0.199 273.8)
-
Step 600
600
#4F54FF
oklch(55.5% 0.247 273.7)
-
Step 700
700
#413AEB
oklch(49.1% 0.252 273.7)
-
Step 800
800
#3432BE
oklch(42.6% 0.21 273.6)
-
Step 900
900
#2C3095
oklch(37.7% 0.162 273.8)
-
Step 950
950 (this color)
#1A1F59
oklch(27.5% 0.103 273.7)
#1A1F59 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) | #00295B | 0.034 |
| Deuteranopia (no green cones) | #002358 | 0.027 |
| Tritanopia (no blue cones) | #002D38 | 0.085 |
| Achromatopsia (no color) | #262626 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1A1F59
#1A1F59
oklch(27.5% 0.103 273.7)
- #312700
#312700
oklch(27.6% 0.057 94.2)
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 #1A1F59, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.043
- Marine #042E60 ΔE 0.044
- Dark Indigo #1F0954 ΔE 0.048
- Oxford Blue #1B263B ΔE 0.062
- Darkblue #030764 ΔE 0.063
- Prussian Blue #1D3557 ΔE 0.067
- Navy Blue #001146 ΔE 0.068
- Dark Royal Blue #02066F ΔE 0.069
Use #1A1F59 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.