#1B408F#1B408F
#1B408F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.138 H 262.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B408F |
|---|---|
| RGB | rgb(27, 64, 143) |
| HSL | hsl(221, 68%, 33%) |
| HSV | hsv(221, 81%, 56%) |
| CMYK | cmyk(81.1%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.11, 17.51, -47.46) |
| CIE-LCH | lch(29.11, 50.59, 290.26°) |
| OKLab | oklab(39.5% -0.0172 -0.1369) |
| OKLCH | oklch(39.5% 0.138 262.8) |
| XYZ | xyz(7.2415, 5.8821, 26.7350) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.82
Darkish Blue
#014182
ΔE00 3.53
Cobalt
#0047AB
ΔE00 4.19
Twilight Blue
#0A437A
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.84
Marine Blue
#01386A
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B408F #8F6A1B
analogous
#1B7A8F #1B408F #301B8F
triadic
#1B408F #8F1B40 #408F1B
tetradic
#1B408F #8F1B7A #8F6A1B #1B8F30
square
#1B408F #8F1B7A #8F6A1B #1B8F30
split-complementary
#1B408F #8F301B #7A8F1B
monochromatic
#081228 #11295C #1B408F #2557C2 #4877DC
Accessibility & contrast
On white
9.65
#1B408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1B408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B408F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B408F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b408f; /* rgb */ color: rgb(27, 64, 143); /* oklch */ color: oklch(39.5% 0.138 262.8);
Tailwind
colors: {
custom: {
50: '#6b74b0',
500: '#1b408f',
950: '#000000',
},
}SCSS
$custom: #1b408f; $custom-light: #6b74b0; $custom-dark: #000000;
JSON
{
"hex": "#1b408f",
"rgb": {
"r": 27,
"g": 64,
"b": 143
},
"hsl": {
"h": 220.862,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.39504,
"c": 0.13794,
"h": 262.8
},
"luminance": 0.05883
}Semantic roles & 50–950 ramp
primary
#1B408F
secondary
#BE9848
accent
#B33DEB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80