#1B418A#1B418A
#1B418A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.130 H 261.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B418A |
|---|---|
| RGB | rgb(27, 65, 138) |
| HSL | hsl(219, 67%, 32%) |
| HSV | hsv(219, 80%, 54%) |
| CMYK | cmyk(80.4%, 52.9%, 0%, 45.9%) |
| CIE-LAB | lab(29.03, 14.79, -44.52) |
| CIE-LCH | lch(29.03, 46.91, 288.38°) |
| OKLab | oklab(39.32% -0.0185 -0.1282) |
| OKLCH | oklch(39.32% 0.13 261.8) |
| XYZ | xyz(6.9281, 5.8478, 24.8034) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.34
Darkish Blue
#014182
ΔE00 2.76
Twilight Blue
#0A437A
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.60
Prussian Blue
#004577
ΔE00 5.38
Marine Blue
#01386A
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B418A #8A641B
analogous
#1B798A #1B418A #2C1B8A
triadic
#1B418A #8A1B41 #418A1B
tetradic
#1B418A #8A1B79 #8A641B #1B8A2C
square
#1B418A #8A1B79 #8A641B #1B8A2C
split-complementary
#1B418A #8A2C1B #798A1B
monochromatic
#071124 #112957 #1B418A #2559BD #4578DB
Accessibility & contrast
On white
9.68
#1B418A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1B418A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B418A
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B418A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B418A | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b418a; /* rgb */ color: rgb(27, 65, 138); /* oklch */ color: oklch(39.3% 0.130 261.8);
Tailwind
colors: {
custom: {
50: '#6a75ad',
500: '#1b418a',
950: '#000000',
},
}SCSS
$custom: #1b418a; $custom-light: #6a75ad; $custom-dark: #000000;
JSON
{
"hex": "#1b418a",
"rgb": {
"r": 27,
"g": 65,
"b": 138
},
"hsl": {
"h": 219.459,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.39316,
"c": 0.12952,
"h": 261.8
},
"luminance": 0.05849
}Semantic roles & 50–950 ramp
primary
#1B418A
secondary
#BC9345
accent
#AF3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F