#1B2E52#1B2E52
#1B2E52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.070 H 262.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E52 |
|---|---|
| RGB | rgb(27, 46, 82) |
| HSL | hsl(219, 50%, 21%) |
| HSV | hsv(219, 67%, 32%) |
| CMYK | cmyk(67.1%, 43.9%, 0%, 67.8%) |
| CIE-LAB | lab(19.21, 5.40, -24.32) |
| CIE-LCH | lch(19.21, 24.91, 282.52°) |
| OKLab | oklab(30.52% -0.0096 -0.0692) |
| OKLCH | oklch(30.52% 0.07 262.1) |
| XYZ | xyz(2.9514, 2.7959, 8.3651) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.85
Marine
#042E60
ΔE00 3.75
Marine Blue
#01386A
ΔE00 6.04
Navy (survey)
#01153E
ΔE00 7.93
Twilight Blue
#0A437A
ΔE00 9.12
Darkish Blue
#014182
ΔE00 9.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E52 #523F1B
analogous
#1B4A52 #1B2E52 #241B52
triadic
#1B2E52 #521B2E #2E521B
tetradic
#1B2E52 #521B4A #523F1B #1B5224
square
#1B2E52 #521B4A #523F1B #1B5224
split-complementary
#1B2E52 #52241B #4A521B
monochromatic
#080D17 #0C1424 #1B2E52 #2A4880 #3962AE
Accessibility & contrast
On white
13.47
#1B2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B2E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E52
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E52 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#172C51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2e52; /* rgb */ color: rgb(27, 46, 82); /* oklch */ color: oklch(30.5% 0.070 262.1);
Tailwind
colors: {
custom: {
50: '#5d6683',
500: '#1b2e52',
950: '#000000',
},
}SCSS
$custom: #1b2e52; $custom-light: #5d6683; $custom-dark: #000000;
JSON
{
"hex": "#1b2e52",
"rgb": {
"r": 27,
"g": 46,
"b": 82
},
"hsl": {
"h": 219.273,
"s": 50.459,
"l": 21.373
},
"oklch": {
"l": 0.30523,
"c": 0.06983,
"h": 262.1
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#1B2E52
secondary
#886F41
accent
#AA4EDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C