#1B2E8D#1B2E8D
#1B2E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.158 H 268.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E8D |
|---|---|
| RGB | rgb(27, 46, 141) |
| HSL | hsl(230, 68%, 33%) |
| HSV | hsv(230, 81%, 55%) |
| CMYK | cmyk(80.9%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.03, 29.11, -54.52) |
| CIE-LCH | lch(24.03, 61.80, 298.10°) |
| OKLab | oklab(35.66% -0.0055 -0.1578) |
| OKLCH | oklch(35.66% 0.158 268) |
| XYZ | xyz(6.2350, 4.1094, 25.6587) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.88
Royal
#0C1793
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.76
Blueberry
#464196
ΔE00 7.10
Darkslateblue
#483D8B
ΔE00 7.19
Marine
#042E60
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E8D #8D7A1B
analogous
#1B678D #1B2E8D #411B8D
triadic
#1B2E8D #8D1B2E #2E8D1B
tetradic
#1B2E8D #8D1B67 #8D7A1B #1B8D41
square
#1B2E8D #8D1B67 #8D7A1B #1B8D41
split-complementary
#1B2E8D #8D411B #678D1B
monochromatic
#070C26 #111D5A #1B2E8D #253FC0 #4760DC
Accessibility & contrast
On white
11.53
#1B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1B2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E8D
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E8D | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b2e8d; /* rgb */ color: rgb(27, 46, 141); /* oklch */ color: oklch(35.7% 0.158 268.0);
Tailwind
colors: {
custom: {
50: '#6c66af',
500: '#1b2e8d',
950: '#000000',
},
}SCSS
$custom: #1b2e8d; $custom-light: #6c66af; $custom-dark: #000000;
JSON
{
"hex": "#1b2e8d",
"rgb": {
"r": 27,
"g": 46,
"b": 141
},
"hsl": {
"h": 230,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.35658,
"c": 0.15793,
"h": 268
},
"luminance": 0.0411
}Semantic roles & 50–950 ramp
primary
#1B2E8D
secondary
#BDAA46
accent
#CE3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F