#1B2E7D#1B2E7D
#1B2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.136 H 267.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E7D |
|---|---|
| RGB | rgb(27, 46, 125) |
| HSL | hsl(228, 64%, 30%) |
| HSV | hsv(228, 78%, 49%) |
| CMYK | cmyk(78.4%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(22.54, 22.83, -46.93) |
| CIE-LCH | lch(22.54, 52.19, 295.94°) |
| OKLab | oklab(34.1% -0.005 -0.1356) |
| OKLCH | oklch(34.1% 0.136 267.9) |
| XYZ | xyz(5.1294, 3.6671, 19.8355) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.31
Sapphire (survey)
#2138AB
ΔE00 7.07
Marine Blue
#01386A
ΔE00 7.24
Darkslateblue
#483D8B
ΔE00 7.51
Royal
#0C1793
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E7D #7D6A1B
analogous
#1B5F7D #1B2E7D #391B7D
triadic
#1B2E7D #7D1B2E #2E7D1B
tetradic
#1B2E7D #7D1B5F #7D6A1B #1B7D39
square
#1B2E7D #7D1B5F #7D6A1B #1B7D39
split-complementary
#1B2E7D #7D391B #5F7D1B
monochromatic
#050919 #101B4B #1B2E7D #2641AF #3D5BD5
Accessibility & contrast
On white
12.11
#1B2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1B2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E7D
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E7D | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b2e7d; /* rgb */ color: rgb(27, 46, 125); /* oklch */ color: oklch(34.1% 0.136 267.9);
Tailwind
colors: {
custom: {
50: '#6866a3',
500: '#1b2e7d',
950: '#000000',
},
}SCSS
$custom: #1b2e7d; $custom-light: #6866a3; $custom-dark: #000000;
JSON
{
"hex": "#1b2e7d",
"rgb": {
"r": 27,
"g": 46,
"b": 125
},
"hsl": {
"h": 228.367,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.341,
"c": 0.1357,
"h": 267.9
},
"luminance": 0.03668
}Semantic roles & 50–950 ramp
primary
#1B2E7D
secondary
#B19C43
accent
#C740E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F