#2252C9#2252C9
#2252C9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.192 H 263.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2252C9 |
|---|---|
| RGB | rgb(34, 82, 201) |
| HSL | hsl(223, 71%, 46%) |
| HSV | hsv(223, 83%, 79%) |
| CMYK | cmyk(83.1%, 59.2%, 0%, 21.2%) |
| CIE-LAB | lab(38.88, 28.85, -66.13) |
| CIE-LCH | lch(38.88, 72.15, 293.57°) |
| OKLab | oklab(48.37% -0.0205 -0.1913) |
| OKLCH | oklch(48.37% 0.192 263.9) |
| XYZ | xyz(14.2158, 10.5900, 56.5418) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 5.07
Blue (survey)
#0343DF
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.44
Azul
#1D5DEC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2252C9 #C99922
analogous
#22A5C9 #2252C9 #4522C9
triadic
#2252C9 #C92252 #52C922
tetradic
#2252C9 #C922A5 #C99922 #22C945
square
#2252C9 #C922A5 #C99922 #22C945
split-complementary
#2252C9 #C94522 #A5C922
monochromatic
#102760 #193D95 #2252C9 #4874E0 #7C9CE9
Accessibility & contrast
On white
6.73
#2252C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2252C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2252C9
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2252C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2252C9 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2252c9; /* rgb */ color: rgb(34, 82, 201); /* oklch */ color: oklch(48.4% 0.192 263.9);
Tailwind
colors: {
custom: {
50: '#7b82da',
500: '#2252c9',
950: '#000000',
},
}SCSS
$custom: #2252c9; $custom-light: #7b82da; $custom-dark: #000000;
JSON
{
"hex": "#2252c9",
"rgb": {
"r": 34,
"g": 82,
"b": 201
},
"hsl": {
"h": 222.754,
"s": 71.064,
"l": 46.078
},
"oklch": {
"l": 0.48368,
"c": 0.19239,
"h": 263.9
},
"luminance": 0.10592
}Semantic roles & 50–950 ramp
primary
#2252C9
secondary
#D1B776
accent
#BA3AEE
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83