#2551E2#2551E2
#2551E2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.5% C 0.225 H 265.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2551E2 |
|---|---|
| RGB | rgb(37, 81, 226) |
| HSL | hsl(226, 77%, 52%) |
| HSV | hsv(226, 84%, 89%) |
| CMYK | cmyk(83.6%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(40.84, 39.04, -77.27) |
| CIE-LCH | lch(40.84, 86.57, 296.81°) |
| OKLab | oklab(50.5% -0.018 -0.2239) |
| OKLCH | oklch(50.5% 0.225 265.4) |
| XYZ | xyz(17.4280, 11.7670, 73.2895) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 3.34
Warm Blue
#4B57DB
ΔE00 3.44
Azul
#1D5DEC
ΔE00 4.05
Blue (survey)
#0343DF
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 5.61
Sapphire
#0F52BA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2551E2 #E2B625
analogous
#25AFE2 #2551E2 #5825E2
triadic
#2551E2 #E22551 #51E225
tetradic
#2551E2 #E225AF #E2B625 #25E258
square
#2551E2 #E225AF #E2B625 #25E258
split-complementary
#2551E2 #E25825 #AFE225
monochromatic
#112A7C #183CB2 #2551E2 #5B7CE9 #91A7F0
Accessibility & contrast
On white
6.26
#2551E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2551E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2551E2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2551E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2551E2 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2551e2; /* rgb */ color: rgb(37, 81, 226); /* oklch */ color: oklch(50.5% 0.225 265.4);
Tailwind
colors: {
custom: {
50: '#8281ec',
500: '#2551e2',
950: '#000000',
},
}SCSS
$custom: #2551e2; $custom-light: #8281ec; $custom-dark: #000000;
JSON
{
"hex": "#2551e2",
"rgb": {
"r": 37,
"g": 81,
"b": 226
},
"hsl": {
"h": 226.032,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.50504,
"c": 0.22459,
"h": 265.4
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#2551E2
secondary
#DBC888
accent
#C735F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84