#1B2F7E
Closest named color: Marine Blue (#01386A). oklch(34.4% 0.136 267.6), rgb(27, 47, 126).
Aa
White text reads best on this color (11.96:1).
About this color
#1B2F7E is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.136 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.047 away. White text reads best on it, at 11.96:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.136) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.75:1 |
| White text | 11.96:1 |
Values
| HEX | #1B2F7E |
| RGB | rgb(27, 47, 126) |
| HSL | hsl(228, 65%, 30%) |
| OKLCH | oklch(34.4% 0.136 267.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 #1B2F7E | 11.96:1 | AAA | Lc -100.5 | Preferred for body text |
| Black text on #1B2F7E | 1.75:1 | Fails | Lc 0.0 | Not readable |
| #1B2F7E text on white | 11.96:1 | AAA | Lc 96.9 | Preferred for body text |
| #1B2F7E text on black | 1.75: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 900.
-
Step 50
50
#F1F5FF
oklch(97% 0.014 268.5)
-
Step 100
100
#E1EAFE
oklch(93.6% 0.029 266.4)
-
Step 200
200
#C9D9FF
oklch(88.6% 0.055 267.2)
-
Step 300
300
#A6BFFF
oklch(80.9% 0.095 267.8)
-
Step 400
400
#779BFF
oklch(70.7% 0.152 267.5)
-
Step 500
500
#567DFF
oklch(63% 0.198 267.8)
-
Step 600
600
#3B60F5
oklch(55.6% 0.226 267.5)
-
Step 700
700
#2F4ED5
oklch(49.1% 0.209 267.6)
-
Step 800
800
#2741AC
oklch(42.7% 0.173 267.6)
-
Step 900
900 (this color)
#1B2F7E
oklch(34.4% 0.136 267.6)
-
Step 950
950
#142250
oklch(27% 0.086 267.5)
#1B2F7E 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) | #003B81 | 0.033 |
| Deuteranopia (no green cones) | #00327C | 0.019 |
| Tritanopia (no blue cones) | #004351 | 0.107 |
| Achromatopsia (no color) | #373737 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1B2F7E
#1B2F7E
oklch(34.4% 0.136 267.6)
- #483600
#483600
oklch(34.3% 0.07 87.9)
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 #1B2F7E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.047
- Twilight Blue #0A437A ΔE 0.056
- Marine #042E60 ΔE 0.057
- Midnight Blue #191970 ΔE 0.058
- Royal #0C1793 ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.072
- Cobalt #1E488F ΔE 0.073
- Sapphire #2138AB ΔE 0.080
Use #1B2F7E 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.