#1B3D8E#1B3D8E
#1B3D8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.140 H 263.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3D8E |
|---|---|
| RGB | rgb(27, 61, 142) |
| HSL | hsl(222, 68%, 33%) |
| HSV | hsv(222, 81%, 56%) |
| CMYK | cmyk(81%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.17, 19.19, -48.36) |
| CIE-LCH | lch(28.17, 52.03, 291.64°) |
| OKLab | oklab(38.77% -0.0151 -0.1396) |
| OKLCH | oklch(38.77% 0.14 263.8) |
| XYZ | xyz(7.0015, 5.5227, 26.2829) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.86
Darkish Blue
#014182
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.33
Twilight Blue
#0A437A
ΔE00 5.34
Marine Blue
#01386A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3D8E #8E6C1B
analogous
#1B768E #1B3D8E #331B8E
triadic
#1B3D8E #8E1B3D #3D8E1B
tetradic
#1B3D8E #8E1B76 #8E6C1B #1B8E33
square
#1B3D8E #8E1B76 #8E6C1B #1B8E33
split-complementary
#1B3D8E #8E331B #768E1B
monochromatic
#071127 #11275B #1B3D8E #2553C1 #4773DC
Accessibility & contrast
On white
9.98
#1B3D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1B3D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3D8E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3D8E | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1b3d8e; /* rgb */ color: rgb(27, 61, 142); /* oklch */ color: oklch(38.8% 0.140 263.8);
Tailwind
colors: {
custom: {
50: '#6b71b0',
500: '#1b3d8e',
950: '#000000',
},
}SCSS
$custom: #1b3d8e; $custom-light: #6b71b0; $custom-dark: #000000;
JSON
{
"hex": "#1b3d8e",
"rgb": {
"r": 27,
"g": 61,
"b": 142
},
"hsl": {
"h": 222.261,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.38769,
"c": 0.14039,
"h": 263.8
},
"luminance": 0.05523
}Semantic roles & 50–950 ramp
primary
#1B3D8E
secondary
#BE9B47
accent
#B73DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F