#1E2277
Closest named color: Midnight Blue (#191970). oklch(31.4% 0.141 272.8), rgb(30, 34, 119).
Aa
White text reads best on this color (13.54:1).
About this color
#1E2277 is a dark, vivid blue. In OKLCH its lightness is 31%, its chroma 0.141 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.026 away. White text reads best on it, at 13.54:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | vivid (0.141) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.55:1 |
| White text | 13.54:1 |
Values
| HEX | #1E2277 |
| RGB | rgb(30, 34, 119) |
| HSL | hsl(237, 60%, 29%) |
| OKLCH | oklch(31.4% 0.141 272.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #1E2277 | 13.54:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #1E2277 | 1.55:1 | Fails | Lc 0.0 | Not readable |
| #1E2277 text on white | 13.54:1 | AAA | Lc 99.4 | Preferred for body text |
| #1E2277 text on black | 1.55: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
#CCD8FF
oklch(88.6% 0.055 271.8)
-
Step 300
300
#ACBDFF
oklch(80.9% 0.095 273)
-
Step 400
400
#8198FF
oklch(70.7% 0.153 272.5)
-
Step 500
500
#6479FF
oklch(63% 0.199 272.7)
-
Step 600
600
#4C56FF
oklch(55.6% 0.245 272.6)
-
Step 700
700
#3E26FF
oklch(49.1% 0.289 272.7)
-
Step 800
800
#3300E0
oklch(42.7% 0.274 272.7)
-
Step 900
900
#2916B4
oklch(37.7% 0.223 272.9)
-
Step 950
950 (this color)
#1E2277
oklch(31.4% 0.141 272.8)
#1E2277 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) | #00327A | 0.042 |
| Deuteranopia (no green cones) | #002A75 | 0.029 |
| Tritanopia (no blue cones) | #003949 | 0.112 |
| Achromatopsia (no color) | #2E2E2E | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1E2277
#1E2277
oklch(31.4% 0.141 272.8)
- #3D3000
#3D3000
oklch(31.5% 0.064 92.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #1E2277
These curated palettes and gradients contain exactly #1E2277. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.026
- Royal #0C1793 ΔE 0.055
- Marine #042E60 ΔE 0.055
- Marine Blue #01386A ΔE 0.064
- Navy #000080 ΔE 0.068
- Dark Blue #00008B ΔE 0.068
- Deep Blue #040273 ΔE 0.069
- Dark Royal Blue #02066F ΔE 0.069
Use #1E2277 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.