#1B418E#1B418E
#1B418E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.135 H 262.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B418E |
|---|---|
| RGB | rgb(27, 65, 142) |
| HSL | hsl(220, 68%, 33%) |
| HSV | hsv(220, 81%, 56%) |
| CMYK | cmyk(81%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(29.33, 16.41, -46.50) |
| CIE-LCH | lch(29.33, 49.31, 289.44°) |
| OKLab | oklab(39.64% -0.0181 -0.134) |
| OKLCH | oklch(39.64% 0.135 262.3) |
| XYZ | xyz(7.2230, 5.9658, 26.3568) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Darkish Blue
#014182
ΔE00 3.21
Cobalt
#0047AB
ΔE00 4.14
Twilight Blue
#0A437A
ΔE00 4.34
Prussian Blue
#004577
ΔE00 5.79
Marine Blue
#01386A
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B418E #8E681B
analogous
#1B7A8E #1B418E #2E1B8E
triadic
#1B418E #8E1B41 #418E1B
tetradic
#1B418E #8E1B7A #8E681B #1B8E2E
square
#1B418E #8E1B7A #8E681B #1B8E2E
split-complementary
#1B418E #8E2E1B #7A8E1B
monochromatic
#071227 #11295B #1B418E #2559C1 #4778DC
Accessibility & contrast
On white
9.57
#1B418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1B418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B418E
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B418E | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b418e; /* rgb */ color: rgb(27, 65, 142); /* oklch */ color: oklch(39.6% 0.135 262.3);
Tailwind
colors: {
custom: {
50: '#6b75b0',
500: '#1b418e',
950: '#000000',
},
}SCSS
$custom: #1b418e; $custom-light: #6b75b0; $custom-dark: #000000;
JSON
{
"hex": "#1b418e",
"rgb": {
"r": 27,
"g": 65,
"b": 142
},
"hsl": {
"h": 220.174,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.39641,
"c": 0.13522,
"h": 262.3
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#1B418E
secondary
#BE9747
accent
#B13DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F