#2552C6#2552C6
#2552C6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.188 H 264.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2552C6 |
|---|---|
| RGB | rgb(37, 82, 198) |
| HSL | hsl(223, 69%, 46%) |
| HSV | hsv(223, 81%, 78%) |
| CMYK | cmyk(81.3%, 58.6%, 0%, 22.4%) |
| CIE-LAB | lab(38.73, 27.96, -64.63) |
| CIE-LCH | lch(38.73, 70.42, 293.39°) |
| OKLab | oklab(48.21% -0.0187 -0.1868) |
| OKLCH | oklch(48.21% 0.188 264.3) |
| XYZ | xyz(13.9697, 10.5034, 54.7062) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.65
Blue Blue
#2242C7
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 5.43
Warm Blue
#4B57DB
ΔE00 5.54
Azul
#1D5DEC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552C6 #C69925
analogous
#25A2C6 #2552C6 #4825C6
triadic
#2552C6 #C62552 #52C625
tetradic
#2552C6 #C625A2 #C69925 #25C648
square
#2552C6 #C625A2 #C69925 #25C648
split-complementary
#2552C6 #C64825 #A2C625
monochromatic
#12275F #1B3D92 #2552C6 #4B74DD #7E9CE7
Accessibility & contrast
On white
6.77
#2552C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2552C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2552C6
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552C6 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2552c6; /* rgb */ color: rgb(37, 82, 198); /* oklch */ color: oklch(48.2% 0.188 264.3);
Tailwind
colors: {
custom: {
50: '#7b82d8',
500: '#2552c6',
950: '#000000',
},
}SCSS
$custom: #2552c6; $custom-light: #7b82d8; $custom-dark: #000000;
JSON
{
"hex": "#2552c6",
"rgb": {
"r": 37,
"g": 82,
"b": 198
},
"hsl": {
"h": 223.23,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.48207,
"c": 0.18778,
"h": 264.3
},
"luminance": 0.10505
}Semantic roles & 50–950 ramp
primary
#2552C6
secondary
#CFB777
accent
#BA3CEB
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A15
muted
#7C7C83