#2154AB#2154AB
#2154AB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.150 H 260.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2154AB |
|---|---|
| RGB | rgb(33, 84, 171) |
| HSL | hsl(218, 68%, 40%) |
| HSV | hsv(218, 81%, 67%) |
| CMYK | cmyk(80.7%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.12, 15.77, -51.40) |
| CIE-LCH | lch(37.12, 53.76, 287.05°) |
| OKLab | oklab(46.31% -0.025 -0.148) |
| OKLCH | oklch(46.31% 0.15 260.4) |
| XYZ | xyz(11.1455, 9.6029, 39.7863) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.99
Dusk Blue
#26538D
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 4.27
Denim
#1560BD
ΔE00 4.68
Light Navy Blue
#2E5A88
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2154AB #AB7821
analogous
#2199AB #2154AB #3321AB
triadic
#2154AB #AB2154 #54AB21
tetradic
#2154AB #AB2199 #AB7821 #21AB33
square
#2154AB #AB2199 #AB7821 #21AB33
split-complementary
#2154AB #AB3321 #99AB21
monochromatic
#0D2244 #173B78 #2154AB #326FD7 #6593E1
Accessibility & contrast
On white
7.19
#2154AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2154AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2154AB
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2154AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2154AB | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2154ab; /* rgb */ color: rgb(33, 84, 171); /* oklch */ color: oklch(46.3% 0.150 260.4);
Tailwind
colors: {
custom: {
50: '#7383c5',
500: '#2154ab',
950: '#000000',
},
}SCSS
$custom: #2154ab; $custom-light: #7383c5; $custom-dark: #000000;
JSON
{
"hex": "#2154ab",
"rgb": {
"r": 33,
"g": 84,
"b": 171
},
"hsl": {
"h": 217.826,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.46311,
"c": 0.15005,
"h": 260.4
},
"luminance": 0.09604
}Semantic roles & 50–950 ramp
primary
#2154AB
secondary
#C7A161
accent
#AA3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82