#1B358E#1B358E
#1B358E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.151 H 266.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B358E |
|---|---|
| RGB | rgb(27, 53, 142) |
| HSL | hsl(226, 68%, 33%) |
| HSV | hsv(226, 81%, 56%) |
| CMYK | cmyk(81%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(25.96, 24.73, -51.98) |
| CIE-LCH | lch(25.96, 57.57, 295.44°) |
| OKLab | oklab(37.11% -0.0097 -0.1503) |
| OKLCH | oklch(37.11% 0.151 266.3) |
| XYZ | xyz(6.6059, 4.7314, 26.1510) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.38
Blueberry
#464196
ΔE00 6.32
Darkish Blue
#014182
ΔE00 6.57
Cobalt (survey)
#1E488F
ΔE00 6.67
Cobalt
#0047AB
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B358E #8E741B
analogous
#1B6E8E #1B358E #3B1B8E
triadic
#1B358E #8E1B35 #358E1B
tetradic
#1B358E #8E1B6E #8E741B #1B8E3B
square
#1B358E #8E1B6E #8E741B #1B8E3B
split-complementary
#1B358E #8E3B1B #6E8E1B
monochromatic
#070F27 #11225B #1B358E #2548C1 #4769DC
Accessibility & contrast
On white
10.79
#1B358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B358E
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B358E | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b358e; /* rgb */ color: rgb(27, 53, 142); /* oklch */ color: oklch(37.1% 0.151 266.3);
Tailwind
colors: {
custom: {
50: '#6c6bb0',
500: '#1b358e',
950: '#000000',
},
}SCSS
$custom: #1b358e; $custom-light: #6c6bb0; $custom-dark: #000000;
JSON
{
"hex": "#1b358e",
"rgb": {
"r": 27,
"g": 53,
"b": 142
},
"hsl": {
"h": 226.435,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.37107,
"c": 0.15064,
"h": 266.3
},
"luminance": 0.04732
}Semantic roles & 50–950 ramp
primary
#1B358E
secondary
#BEA347
accent
#C43DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80