#1B4299#1B4299
#1B4299 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.149 H 263.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4299 |
|---|---|
| RGB | rgb(27, 66, 153) |
| HSL | hsl(221, 70%, 35%) |
| HSV | hsv(221, 82%, 60%) |
| CMYK | cmyk(82.4%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(30.47, 20.17, -51.37) |
| CIE-LCH | lch(30.47, 55.19, 291.44°) |
| OKLab | oklab(40.78% -0.0178 -0.1483) |
| OKLCH | oklch(40.78% 0.149 263.2) |
| XYZ | xyz(8.1479, 6.4284, 30.9422) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.89
Cobalt (survey)
#1E488F
ΔE00 2.89
Darkish Blue
#014182
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 5.05
Twilight Blue
#0A437A
ΔE00 5.53
Dusk Blue
#26538D
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4299 #99721B
analogous
#1B8199 #1B4299 #331B99
triadic
#1B4299 #991B42 #42991B
tetradic
#1B4299 #991B81 #99721B #1B9933
square
#1B4299 #991B81 #99721B #1B9933
split-complementary
#1B4299 #99331B #81991B
monochromatic
#091531 #122C65 #1B4299 #2458CD #4F7CE0
Accessibility & contrast
On white
9.19
#1B4299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1B4299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4299
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4299 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b4299; /* rgb */ color: rgb(27, 66, 153); /* oklch */ color: oklch(40.8% 0.149 263.2);
Tailwind
colors: {
custom: {
50: '#6e75b8',
500: '#1b4299',
950: '#000000',
},
}SCSS
$custom: #1b4299; $custom-light: #6e75b8; $custom-dark: #000000;
JSON
{
"hex": "#1b4299",
"rgb": {
"r": 27,
"g": 66,
"b": 153
},
"hsl": {
"h": 221.429,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.40776,
"c": 0.14939,
"h": 263.2
},
"luminance": 0.06429
}Semantic roles & 50–950 ramp
primary
#1B4299
secondary
#C29E4E
accent
#B63BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80