#2252AC#2252AC
#2252AC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.154 H 261.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2252AC |
|---|---|
| RGB | rgb(34, 82, 172) |
| HSL | hsl(219, 67%, 40%) |
| HSV | hsv(219, 80%, 67%) |
| CMYK | cmyk(80.2%, 52.3%, 0%, 32.5%) |
| CIE-LAB | lab(36.65, 17.60, -52.75) |
| CIE-LCH | lch(36.65, 55.60, 288.45°) |
| OKLab | oklab(45.99% -0.0227 -0.1519) |
| OKLCH | oklch(45.99% 0.154 261.5) |
| XYZ | xyz(11.1207, 9.3519, 40.2407) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.75
Cobalt
#0047AB
ΔE00 3.54
Dusk Blue
#26538D
ΔE00 4.14
Denim Blue
#3B5B92
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 4.71
Denim
#1560BD
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2252AC #AC7C22
analogous
#2297AC #2252AC #3722AC
triadic
#2252AC #AC2252 #52AC22
tetradic
#2252AC #AC2297 #AC7C22 #22AC37
square
#2252AC #AC2297 #AC7C22 #22AC37
split-complementary
#2252AC #AC3722 #97AC22
monochromatic
#0E2146 #183A79 #2252AC #346DD7 #6792E1
Accessibility & contrast
On white
7.32
#2252AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2252AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2252AC
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2252AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2252AC | 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: #2252ac; /* rgb */ color: rgb(34, 82, 172); /* oklch */ color: oklch(46.0% 0.154 261.5);
Tailwind
colors: {
custom: {
50: '#7482c5',
500: '#2252ac',
950: '#000000',
},
}SCSS
$custom: #2252ac; $custom-light: #7482c5; $custom-dark: #000000;
JSON
{
"hex": "#2252ac",
"rgb": {
"r": 34,
"g": 82,
"b": 172
},
"hsl": {
"h": 219.13,
"s": 66.99,
"l": 40.392
},
"oklch": {
"l": 0.45986,
"c": 0.15364,
"h": 261.5
},
"luminance": 0.09353
}Semantic roles & 50–950 ramp
primary
#2252AC
secondary
#C7A463
accent
#AE3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82