#1B2F58#1B2F58
#1B2F58 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.078 H 263.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F58 |
|---|---|
| RGB | rgb(27, 47, 88) |
| HSL | hsl(220, 53%, 23%) |
| HSV | hsv(220, 69%, 35%) |
| CMYK | cmyk(69.3%, 46.6%, 0%, 65.5%) |
| CIE-LAB | lab(19.92, 7.09, -27.18) |
| CIE-LCH | lch(19.92, 28.09, 284.63°) |
| OKLab | oklab(31.2% -0.0094 -0.0775) |
| OKLCH | oklch(31.2% 0.078 263.1) |
| XYZ | xyz(3.2293, 2.9703, 9.6338) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.97
Marine
#042E60
ΔE00 3.02
Marine Blue
#01386A
ΔE00 5.47
Navy (survey)
#01153E
ΔE00 8.16
Twilight Blue
#0A437A
ΔE00 8.51
Darkish Blue
#014182
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F58 #58441B
analogous
#1B4D58 #1B2F58 #261B58
triadic
#1B2F58 #581B2F #2F581B
tetradic
#1B2F58 #581B4D #58441B #1B5826
square
#1B2F58 #581B4D #58441B #1B5826
split-complementary
#1B2F58 #58261B #4D581B
monochromatic
#070D17 #0D1629 #1B2F58 #294887 #3861B6
Accessibility & contrast
On white
13.17
#1B2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B2F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F58
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F58 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#122E57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2f58; /* rgb */ color: rgb(27, 47, 88); /* oklch */ color: oklch(31.2% 0.078 263.1);
Tailwind
colors: {
custom: {
50: '#5f6787',
500: '#1b2f58',
950: '#000000',
},
}SCSS
$custom: #1b2f58; $custom-light: #5f6787; $custom-dark: #000000;
JSON
{
"hex": "#1b2f58",
"rgb": {
"r": 27,
"g": 47,
"b": 88
},
"hsl": {
"h": 220.328,
"s": 53.043,
"l": 22.549
},
"oklch": {
"l": 0.31204,
"c": 0.07811,
"h": 263.1
},
"luminance": 0.02971
}Semantic roles & 50–950 ramp
primary
#1B2F58
secondary
#8E7541
accent
#AD4BDC
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C