#1B2E8E#1B2E8E
#1B2E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.159 H 268.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E8E |
|---|---|
| RGB | rgb(27, 46, 142) |
| HSL | hsl(230, 68%, 33%) |
| HSV | hsv(230, 81%, 56%) |
| CMYK | cmyk(81%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(24.13, 29.50, -54.98) |
| CIE-LCH | lch(24.13, 62.39, 298.21°) |
| OKLab | oklab(35.76% -0.0055 -0.1592) |
| OKLCH | oklch(35.76% 0.159 268) |
| XYZ | xyz(6.3098, 4.1393, 26.0523) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 6.02
Midnight Blue
#191970
ΔE00 6.83
Blueberry
#464196
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.20
Cobalt Blue
#030AA7
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E8E #8E7B1B
analogous
#1B678E #1B2E8E #411B8E
triadic
#1B2E8E #8E1B2E #2E8E1B
tetradic
#1B2E8E #8E1B67 #8E7B1B #1B8E41
square
#1B2E8E #8E1B67 #8E7B1B #1B8E41
split-complementary
#1B2E8E #8E411B #678E1B
monochromatic
#070D27 #111D5B #1B2E8E #253FC1 #4760DC
Accessibility & contrast
On white
11.49
#1B2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1B2E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E8E
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E8E | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b2e8e; /* rgb */ color: rgb(27, 46, 142); /* oklch */ color: oklch(35.8% 0.159 268.0);
Tailwind
colors: {
custom: {
50: '#6d66b0',
500: '#1b2e8e',
950: '#000000',
},
}SCSS
$custom: #1b2e8e; $custom-light: #6d66b0; $custom-dark: #000000;
JSON
{
"hex": "#1b2e8e",
"rgb": {
"r": 27,
"g": 46,
"b": 142
},
"hsl": {
"h": 230.087,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.35758,
"c": 0.15928,
"h": 268
},
"luminance": 0.0414
}Semantic roles & 50–950 ramp
primary
#1B2E8E
secondary
#BEAA47
accent
#CE3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80