#1B4AA6#1B4AA6
#1B4AA6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.157 H 261.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4AA6 |
|---|---|
| RGB | rgb(27, 74, 166) |
| HSL | hsl(220, 72%, 38%) |
| HSV | hsv(220, 84%, 65%) |
| CMYK | cmyk(83.7%, 55.4%, 0%, 34.9%) |
| CIE-LAB | lab(33.74, 19.92, -53.91) |
| CIE-LCH | lch(33.74, 57.47, 290.29°) |
| OKLab | oklab(43.57% -0.0221 -0.1556) |
| OKLCH | oklch(43.57% 0.157 261.9) |
| XYZ | xyz(9.7812, 7.8825, 37.0750) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.33
Cobalt (survey)
#1E488F
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 4.84
Darkish Blue
#014182
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4AA6 #A6771B
analogous
#1B90A6 #1B4AA6 #311BA6
triadic
#1B4AA6 #A61B4A #4AA61B
tetradic
#1B4AA6 #A61B90 #A6771B #1BA631
square
#1B4AA6 #A61B90 #A6771B #1BA631
split-complementary
#1B4AA6 #A6311B #90A61B
monochromatic
#0A1B3D #123371 #1B4AA6 #2461DB #5887E4
Accessibility & contrast
On white
8.15
#1B4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1B4AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4AA6
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4AA6 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1b4aa6; /* rgb */ color: rgb(27, 74, 166); /* oklch */ color: oklch(43.6% 0.157 261.9);
Tailwind
colors: {
custom: {
50: '#717bc1',
500: '#1b4aa6',
950: '#000000',
},
}SCSS
$custom: #1b4aa6; $custom-light: #717bc1; $custom-dark: #000000;
JSON
{
"hex": "#1b4aa6",
"rgb": {
"r": 27,
"g": 74,
"b": 166
},
"hsl": {
"h": 219.712,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.43569,
"c": 0.15718,
"h": 261.9
},
"luminance": 0.07884
}Semantic roles & 50–950 ramp
primary
#1B4AA6
secondary
#C7A156
accent
#B139EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81