#1B2E57#1B2E57
#1B2E57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.078 H 263.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E57 |
|---|---|
| RGB | rgb(27, 46, 87) |
| HSL | hsl(221, 53%, 22%) |
| HSV | hsv(221, 69%, 34%) |
| CMYK | cmyk(69%, 47.1%, 0%, 65.9%) |
| CIE-LAB | lab(19.54, 7.41, -27.14) |
| CIE-LCH | lch(19.54, 28.13, 285.28°) |
| OKLab | oklab(30.88% -0.0085 -0.0774) |
| OKLCH | oklch(30.88% 0.078 263.7) |
| XYZ | xyz(3.1487, 2.8748, 9.4039) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.77
Marine
#042E60
ΔE00 3.22
Marine Blue
#01386A
ΔE00 5.83
Navy (survey)
#01153E
ΔE00 7.82
Twilight Blue
#0A437A
ΔE00 8.89
Darkish Blue
#014182
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E57 #57441B
analogous
#1B4C57 #1B2E57 #261B57
triadic
#1B2E57 #571B2E #2E571B
tetradic
#1B2E57 #571B4C #57441B #1B5726
square
#1B2E57 #571B4C #57441B #1B5726
split-complementary
#1B2E57 #57261B #4C571B
monochromatic
#070C17 #0D1528 #1B2E57 #294786 #385FB4
Accessibility & contrast
On white
13.33
#1B2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B2E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E57
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E57 | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3259
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2e57; /* rgb */ color: rgb(27, 46, 87); /* oklch */ color: oklch(30.9% 0.078 263.7);
Tailwind
colors: {
custom: {
50: '#5e6687',
500: '#1b2e57',
950: '#000000',
},
}SCSS
$custom: #1b2e57; $custom-light: #5e6687; $custom-dark: #000000;
JSON
{
"hex": "#1b2e57",
"rgb": {
"r": 27,
"g": 46,
"b": 87
},
"hsl": {
"h": 221,
"s": 52.632,
"l": 22.353
},
"oklch": {
"l": 0.30882,
"c": 0.07788,
"h": 263.7
},
"luminance": 0.02875
}Semantic roles & 50–950 ramp
primary
#1B2E57
secondary
#8D7541
accent
#AE4CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C