#1B4AA7#1B4AA7
#1B4AA7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.159 H 262.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4AA7 |
|---|---|
| RGB | rgb(27, 74, 167) |
| HSL | hsl(220, 72%, 38%) |
| HSV | hsv(220, 84%, 65%) |
| CMYK | cmyk(83.8%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(33.81, 20.32, -54.38) |
| CIE-LCH | lch(33.81, 58.05, 290.49°) |
| OKLab | oklab(43.65% -0.022 -0.157) |
| OKLCH | oklch(43.65% 0.159 262) |
| XYZ | xyz(9.8733, 7.9194, 37.5599) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.29
Cobalt (survey)
#1E488F
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 4.95
Darkish Blue
#014182
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4AA7 #A7781B
analogous
#1B90A7 #1B4AA7 #321BA7
triadic
#1B4AA7 #A71B4A #4AA71B
tetradic
#1B4AA7 #A71B90 #A7781B #1BA732
square
#1B4AA7 #A71B90 #A7781B #1BA732
split-complementary
#1B4AA7 #A7321B #90A71B
monochromatic
#0A1B3E #123372 #1B4AA7 #2461DC #5887E4
Accessibility & contrast
On white
8.13
#1B4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1B4AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4AA7
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4AA7 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b4aa7; /* rgb */ color: rgb(27, 74, 167); /* oklch */ color: oklch(43.7% 0.159 262.0);
Tailwind
colors: {
custom: {
50: '#717bc2',
500: '#1b4aa7',
950: '#000000',
},
}SCSS
$custom: #1b4aa7; $custom-light: #717bc2; $custom-dark: #000000;
JSON
{
"hex": "#1b4aa7",
"rgb": {
"r": 27,
"g": 74,
"b": 167
},
"hsl": {
"h": 219.857,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.43652,
"c": 0.15854,
"h": 262
},
"luminance": 0.07921
}Semantic roles & 50–950 ramp
primary
#1B4AA7
secondary
#C8A256
accent
#B239EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81