#1B418B#1B418B
#1B418B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.131 H 261.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B418B |
|---|---|
| RGB | rgb(27, 65, 139) |
| HSL | hsl(220, 67%, 33%) |
| HSV | hsv(220, 81%, 55%) |
| CMYK | cmyk(80.6%, 53.2%, 0%, 45.5%) |
| CIE-LAB | lab(29.10, 15.20, -45.01) |
| CIE-LCH | lch(29.10, 47.51, 288.65°) |
| OKLab | oklab(39.4% -0.0184 -0.1296) |
| OKLCH | oklch(39.4% 0.131 261.9) |
| XYZ | xyz(7.0008, 5.8769, 25.1865) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.35
Darkish Blue
#014182
ΔE00 2.86
Twilight Blue
#0A437A
ΔE00 3.97
Cobalt
#0047AB
ΔE00 4.49
Prussian Blue
#004577
ΔE00 5.48
Marine Blue
#01386A
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B418B #8B651B
analogous
#1B798B #1B418B #2D1B8B
triadic
#1B418B #8B1B41 #418B1B
tetradic
#1B418B #8B1B79 #8B651B #1B8B2D
square
#1B418B #8B1B79 #8B651B #1B8B2D
split-complementary
#1B418B #8B2D1B #798B1B
monochromatic
#071125 #112958 #1B418B #2559BE #4578DB
Accessibility & contrast
On white
9.65
#1B418B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1B418B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B418B
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B418B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B418B | 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)
#0E4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b418b; /* rgb */ color: rgb(27, 65, 139); /* oklch */ color: oklch(39.4% 0.131 261.9);
Tailwind
colors: {
custom: {
50: '#6a75ad',
500: '#1b418b',
950: '#000000',
},
}SCSS
$custom: #1b418b; $custom-light: #6a75ad; $custom-dark: #000000;
JSON
{
"hex": "#1b418b",
"rgb": {
"r": 27,
"g": 65,
"b": 139
},
"hsl": {
"h": 219.643,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.39397,
"c": 0.13095,
"h": 261.9
},
"luminance": 0.05878
}Semantic roles & 50–950 ramp
primary
#1B418B
secondary
#BC9445
accent
#B03DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F