#1F2155
Closest named color: Marine (#042E60). oklch(28% 0.092 276.9), rgb(31, 33, 85).
Aa
White text reads best on this color (14.92:1).
About this color
#1F2155 is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.092 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.044 away. White text reads best on it, at 14.92:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.092) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.40:1 |
| White text | 14.92:1 |
Values
| HEX | #1F2155 |
| RGB | rgb(31, 33, 85) |
| HSL | hsl(238, 47%, 23%) |
| OKLCH | oklch(28% 0.092 276.9) |
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 #1F2155 | 14.92:1 | AAA | Lc -104.4 | Preferred for body text |
| Black text on #1F2155 | 1.40:1 | Fails | Lc 0.0 | Not readable |
| #1F2155 text on white | 14.92:1 | AAA | Lc 101.6 | Preferred for body text |
| #1F2155 text on black | 1.40: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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FF
oklch(93.7% 0.03 275.6)
-
Step 200
200
#CFD7FF
oklch(88.6% 0.056 276.3)
-
Step 300
300
#B0BBFF
oklch(80.8% 0.097 276.9)
-
Step 400
400
#8995FF
oklch(70.7% 0.154 276.8)
-
Step 500
500
#6F76FF
oklch(63.2% 0.2 276.8)
-
Step 600
600
#5A52FC
oklch(55.6% 0.243 277.1)
-
Step 700
700
#4A40DC
oklch(49% 0.227 276.8)
-
Step 800
800
#3C37B2
oklch(42.7% 0.188 276.7)
-
Step 900
900
#32328C
oklch(37.7% 0.145 276.8)
-
Step 950
950 (this color)
#1F2155
oklch(28% 0.092 276.9)
#1F2155 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) | #002957 | 0.036 |
| Deuteranopia (no green cones) | #002554 | 0.034 |
| Tritanopia (no blue cones) | #002D37 | 0.080 |
| Achromatopsia (no color) | #272727 | 0.093 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F2155
#1F2155
oklch(28% 0.092 276.9)
- #312800
#312800
oklch(27.9% 0.057 96)
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 #1F2155, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.044
- Midnight Blue #191970 ΔE 0.052
- Dark Indigo #1F0954 ΔE 0.053
- Oxford Blue #1B263B ΔE 0.054
- Space Cadet #2B2D42 ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.060
- Dark #1B2431 ΔE 0.070
- Marine Blue #01386A ΔE 0.073
Use #1F2155 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.