#1B418F#1B418F
#1B418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.137 H 262.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B418F |
|---|---|
| RGB | rgb(27, 65, 143) |
| HSL | hsl(220, 68%, 33%) |
| HSV | hsv(220, 81%, 56%) |
| CMYK | cmyk(81.1%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.40, 16.82, -46.99) |
| CIE-LCH | lch(29.40, 49.91, 289.70°) |
| OKLab | oklab(39.72% -0.0179 -0.1355) |
| OKLCH | oklch(39.72% 0.137 262.5) |
| XYZ | xyz(7.2984, 5.9959, 26.7539) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.46
Darkish Blue
#014182
ΔE00 3.33
Cobalt
#0047AB
ΔE00 4.03
Twilight Blue
#0A437A
ΔE00 4.46
Prussian Blue
#004577
ΔE00 5.89
Marine Blue
#01386A
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B418F #8F691B
analogous
#1B7B8F #1B418F #2F1B8F
triadic
#1B418F #8F1B41 #418F1B
tetradic
#1B418F #8F1B7B #8F691B #1B8F2F
square
#1B418F #8F1B7B #8F691B #1B8F2F
split-complementary
#1B418F #8F2F1B #7B8F1B
monochromatic
#081228 #112A5C #1B418F #2558C2 #4879DC
Accessibility & contrast
On white
9.55
#1B418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1B418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B418F
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B418F | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b418f; /* rgb */ color: rgb(27, 65, 143); /* oklch */ color: oklch(39.7% 0.137 262.5);
Tailwind
colors: {
custom: {
50: '#6b75b0',
500: '#1b418f',
950: '#000000',
},
}SCSS
$custom: #1b418f; $custom-light: #6b75b0; $custom-dark: #000000;
JSON
{
"hex": "#1b418f",
"rgb": {
"r": 27,
"g": 65,
"b": 143
},
"hsl": {
"h": 220.345,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.39723,
"c": 0.13664,
"h": 262.5
},
"luminance": 0.05997
}Semantic roles & 50–950 ramp
primary
#1B418F
secondary
#BE9748
accent
#B23DEB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80