#1B2971#1B2971
#1B2971 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 269.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2971 |
|---|---|
| RGB | rgb(27, 41, 113) |
| HSL | hsl(230, 61%, 27%) |
| HSV | hsv(230, 76%, 44%) |
| CMYK | cmyk(76.1%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(20.09, 21.57, -43.27) |
| CIE-LCH | lch(20.09, 48.35, 296.49°) |
| OKLab | oklab(31.95% -0.0012 -0.1249) |
| OKLCH | oklch(31.95% 0.125 269.4) |
| XYZ | xyz(4.2245, 3.0107, 15.9781) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.03
Marine
#042E60
ΔE00 5.70
Royal
#0C1793
ΔE00 7.89
Marine Blue
#01386A
ΔE00 7.93
Navy Blue
#1B2A4A
ΔE00 7.99
Darkslateblue
#483D8B
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2971 #71631B
analogous
#1B5471 #1B2971 #381B71
triadic
#1B2971 #711B29 #29711B
tetradic
#1B2971 #711B54 #71631B #1B7138
square
#1B2971 #711B54 #71631B #1B7138
split-complementary
#1B2971 #71381B #54711B
monochromatic
#060919 #0F1740 #1B2971 #273BA2 #3750CF
Accessibility & contrast
On white
13.11
#1B2971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2971
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2971 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2971; /* rgb */ color: rgb(27, 41, 113); /* oklch */ color: oklch(31.9% 0.125 269.4);
Tailwind
colors: {
custom: {
50: '#65629a',
500: '#1b2971',
950: '#000000',
},
}SCSS
$custom: #1b2971; $custom-light: #65629a; $custom-dark: #000000;
JSON
{
"hex": "#1b2971",
"rgb": {
"r": 27,
"g": 41,
"b": 113
},
"hsl": {
"h": 230.233,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.31947,
"c": 0.12495,
"h": 269.4
},
"luminance": 0.03011
}Semantic roles & 50–950 ramp
primary
#1B2971
secondary
#A69642
accent
#CA43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E