#1B54A4#1B54A4
#1B54A4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.142 H 258.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B54A4 |
|---|---|
| RGB | rgb(27, 84, 164) |
| HSL | hsl(215, 72%, 37%) |
| HSV | hsv(215, 84%, 64%) |
| CMYK | cmyk(83.5%, 48.8%, 0%, 35.7%) |
| CIE-LAB | lab(36.47, 12.39, -48.29) |
| CIE-LCH | lch(36.47, 49.86, 284.39°) |
| OKLab | oklab(45.61% -0.0295 -0.1389) |
| OKLCH | oklch(45.61% 0.142 258) |
| XYZ | xyz(10.3207, 9.2527, 36.3568) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.73
Sapphire
#0F52BA
ΔE00 3.03
Light Navy Blue
#2E5A88
ΔE00 4.03
Denim Blue
#3B5B92
ΔE00 4.06
Light Navy
#155084
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B54A4 #A46B1B
analogous
#1B99A4 #1B54A4 #261BA4
triadic
#1B54A4 #A41B54 #54A41B
tetradic
#1B54A4 #A41B99 #A46B1B #1BA426
square
#1B54A4 #A41B99 #A46B1B #1BA426
split-complementary
#1B54A4 #A4261B #99A41B
monochromatic
#0A1E3B #12396F #1B54A4 #246FD9 #5691E3
Accessibility & contrast
On white
7.37
#1B54A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#1B54A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B54A4
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B54A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B54A4 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1b54a4; /* rgb */ color: rgb(27, 84, 164); /* oklch */ color: oklch(45.6% 0.142 258.0);
Tailwind
colors: {
custom: {
50: '#7083bf',
500: '#1b54a4',
950: '#000000',
},
}SCSS
$custom: #1b54a4; $custom-light: #7083bf; $custom-dark: #000000;
JSON
{
"hex": "#1b54a4",
"rgb": {
"r": 27,
"g": 84,
"b": 164
},
"hsl": {
"h": 215.036,
"s": 71.728,
"l": 37.451
},
"oklch": {
"l": 0.45607,
"c": 0.142,
"h": 258
},
"luminance": 0.09254
}Semantic roles & 50–950 ramp
primary
#1B54A4
secondary
#C69754
accent
#A339EE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81