#2152AC#2152AC
#2152AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.154 H 261.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2152AC |
|---|---|
| RGB | rgb(33, 82, 172) |
| HSL | hsl(219, 68%, 40%) |
| HSV | hsv(219, 81%, 67%) |
| CMYK | cmyk(80.8%, 52.3%, 0%, 32.5%) |
| CIE-LAB | lab(36.62, 17.49, -52.80) |
| CIE-LCH | lch(36.62, 55.62, 288.33°) |
| OKLab | oklab(45.95% -0.0234 -0.1521) |
| OKLCH | oklch(45.95% 0.154 261.3) |
| XYZ | xyz(11.0882, 9.3352, 40.2392) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.73
Cobalt
#0047AB
ΔE00 3.54
Dusk Blue
#26538D
ΔE00 4.10
Cobalt (survey)
#1E488F
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 4.71
Denim
#1560BD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2152AC #AC7B21
analogous
#2197AC #2152AC #3521AC
triadic
#2152AC #AC2152 #52AC21
tetradic
#2152AC #AC2197 #AC7B21 #21AC35
square
#2152AC #AC2197 #AC7B21 #21AC35
split-complementary
#2152AC #AC3521 #97AC21
monochromatic
#0D2145 #173A79 #2152AC #326DD8 #6691E2
Accessibility & contrast
On white
7.32
#2152AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2152AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2152AC
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2152AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2152AC | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2152ac; /* rgb */ color: rgb(33, 82, 172); /* oklch */ color: oklch(46.0% 0.154 261.3);
Tailwind
colors: {
custom: {
50: '#7381c5',
500: '#2152ac',
950: '#000000',
},
}SCSS
$custom: #2152ac; $custom-light: #7381c5; $custom-dark: #000000;
JSON
{
"hex": "#2152ac",
"rgb": {
"r": 33,
"g": 82,
"b": 172
},
"hsl": {
"h": 218.849,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.45954,
"c": 0.1539,
"h": 261.3
},
"luminance": 0.09336
}Semantic roles & 50–950 ramp
primary
#2152AC
secondary
#C7A362
accent
#AD3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82