#1B418C#1B418C
#1B418C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.132 H 262.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1B418C |
|---|---|
| RGB | rgb(27, 65, 140) |
| HSL | hsl(220, 68%, 33%) |
| HSV | hsv(220, 81%, 55%) |
| CMYK | cmyk(80.7%, 53.6%, 0%, 45.1%) |
| CIE-LAB | lab(29.17, 15.60, -45.51) |
| CIE-LCH | lch(29.17, 48.11, 288.92°) |
| OKLab | oklab(39.48% -0.0183 -0.1311) |
| OKLCH | oklch(39.48% 0.132 262.1) |
| XYZ | xyz(7.0742, 5.9062, 25.5730) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.36
Darkish Blue
#014182
ΔE00 2.98
Twilight Blue
#0A437A
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.37
Prussian Blue
#004577
ΔE00 5.58
Marine Blue
#01386A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B418C #8C661B
analogous
#1B798C #1B418C #2D1B8C
triadic
#1B418C #8C1B41 #418C1B
tetradic
#1B418C #8C1B79 #8C661B #1B8C2D
square
#1B418C #8C1B79 #8C661B #1B8C2D
split-complementary
#1B418C #8C2D1B #798C1B
monochromatic
#071125 #112959 #1B418C #2559BF #4678DB
Accessibility & contrast
On white
9.63
#1B418C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1B418C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B418C
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B418C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B418C | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b418c; /* rgb */ color: rgb(27, 65, 140); /* oklch */ color: oklch(39.5% 0.132 262.1);
Tailwind
colors: {
custom: {
50: '#6b75ae',
500: '#1b418c',
950: '#000000',
},
}SCSS
$custom: #1b418c; $custom-light: #6b75ae; $custom-dark: #000000;
JSON
{
"hex": "#1b418c",
"rgb": {
"r": 27,
"g": 65,
"b": 140
},
"hsl": {
"h": 219.823,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.39478,
"c": 0.13238,
"h": 262.1
},
"luminance": 0.05907
}Semantic roles & 50–950 ramp
primary
#1B418C
secondary
#BD9546
accent
#B03DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F