#1B54B4#1B54B4
#1B54B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.164 H 260.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B54B4 |
|---|---|
| RGB | rgb(27, 84, 180) |
| HSL | hsl(218, 74%, 41%) |
| HSV | hsv(218, 85%, 71%) |
| CMYK | cmyk(85%, 53.3%, 0%, 29.4%) |
| CIE-LAB | lab(37.60, 18.79, -55.95) |
| CIE-LCH | lch(37.60, 59.02, 288.56°) |
| OKLab | oklab(46.84% -0.0273 -0.1614) |
| OKLCH | oklch(46.84% 0.164 260.4) |
| XYZ | xyz(11.8575, 9.8675, 44.4508) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.01
Cobalt
#0047AB
ΔE00 4.25
Denim
#1560BD
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.78
Denim Blue
#3B5B92
ΔE00 5.08
Light Navy Blue
#2E5A88
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B54B4 #B47B1B
analogous
#1BA0B4 #1B54B4 #2E1BB4
triadic
#1B54B4 #B41B54 #54B41B
tetradic
#1B54B4 #B41BA0 #B47B1B #1BB42E
square
#1B54B4 #B41BA0 #B47B1B #1BB42E
split-complementary
#1B54B4 #B42E1B #A0B41B
monochromatic
#0B224A #133B7F #1B54B4 #2D6FDF #6294E7
Accessibility & contrast
On white
7.06
#1B54B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#1B54B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B54B4
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B54B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B54B4 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0560B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #1b54b4; /* rgb */ color: rgb(27, 84, 180); /* oklch */ color: oklch(46.8% 0.164 260.4);
Tailwind
colors: {
custom: {
50: '#7483cb',
500: '#1b54b4',
950: '#000000',
},
}SCSS
$custom: #1b54b4; $custom-light: #7483cb; $custom-dark: #000000;
JSON
{
"hex": "#1b54b4",
"rgb": {
"r": 27,
"g": 84,
"b": 180
},
"hsl": {
"h": 217.647,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.46839,
"c": 0.16371,
"h": 260.4
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#1B54B4
secondary
#CCA35F
accent
#AC37F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82