#1B367E#1B367E
#1B367E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.127 H 265.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1B367E |
|---|---|
| RGB | rgb(27, 54, 126) |
| HSL | hsl(224, 65%, 30%) |
| HSV | hsv(224, 79%, 49%) |
| CMYK | cmyk(78.6%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(24.88, 17.60, -43.75) |
| CIE-LCH | lch(24.88, 47.16, 291.92°) |
| OKLab | oklab(35.88% -0.011 -0.1261) |
| OKLCH | oklch(35.88% 0.127 265) |
| XYZ | xyz(5.5357, 4.3771, 20.2877) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.27
Marine
#042E60
ΔE00 5.30
Cobalt (survey)
#1E488F
ΔE00 6.16
Twilight Blue
#0A437A
ΔE00 6.23
Sapphire (survey)
#2138AB
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B367E #7E631B
analogous
#1B687E #1B367E #311B7E
triadic
#1B367E #7E1B36 #367E1B
tetradic
#1B367E #7E1B68 #7E631B #1B7E31
square
#1B367E #7E1B68 #7E631B #1B7E31
split-complementary
#1B367E #7E311B #687E1B
monochromatic
#050B19 #10204C #1B367E #264CB0 #3E67D6
Accessibility & contrast
On white
11.20
#1B367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1B367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B367E
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B367E | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b367e; /* rgb */ color: rgb(27, 54, 126); /* oklch */ color: oklch(35.9% 0.127 265.0);
Tailwind
colors: {
custom: {
50: '#686ca4',
500: '#1b367e',
950: '#000000',
},
}SCSS
$custom: #1b367e; $custom-light: #686ca4; $custom-dark: #000000;
JSON
{
"hex": "#1b367e",
"rgb": {
"r": 27,
"g": 54,
"b": 126
},
"hsl": {
"h": 223.636,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.3588,
"c": 0.12662,
"h": 265
},
"luminance": 0.04378
}Semantic roles & 50–950 ramp
primary
#1B367E
secondary
#B29443
accent
#BA40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F