#2558E2#2558E2
#2558E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.8% C 0.217 H 264.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2558E2 |
|---|---|
| RGB | rgb(37, 88, 226) |
| HSL | hsl(224, 77%, 52%) |
| HSV | hsv(224, 84%, 89%) |
| CMYK | cmyk(83.6%, 61.1%, 0%, 11.4%) |
| CIE-LAB | lab(42.55, 34.61, -74.47) |
| CIE-LCH | lch(42.55, 82.12, 294.93°) |
| OKLab | oklab(51.77% -0.0213 -0.2156) |
| OKLCH | oklch(51.77% 0.217 264.4) |
| XYZ | xyz(17.9753, 12.8615, 73.4719) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 3.53
Electric Blue
#0652FF
ΔE00 3.65
Bright Blue
#0165FC
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 5.61
Sapphire
#0F52BA
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2558E2 #E2AF25
analogous
#25B6E2 #2558E2 #5125E2
triadic
#2558E2 #E22558 #58E225
tetradic
#2558E2 #E225B6 #E2AF25 #25E251
square
#2558E2 #E225B6 #E2AF25 #25E251
split-complementary
#2558E2 #E25125 #B6E225
monochromatic
#112E7C #1841B2 #2558E2 #5B81E9 #91ABF0
Accessibility & contrast
On white
5.88
#2558E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2558E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2558E2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2558E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2558E2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2558e2; /* rgb */ color: rgb(37, 88, 226); /* oklch */ color: oklch(51.8% 0.217 264.4);
Tailwind
colors: {
custom: {
50: '#8286ec',
500: '#2558e2',
950: '#000000',
},
}SCSS
$custom: #2558e2; $custom-light: #8286ec; $custom-dark: #000000;
JSON
{
"hex": "#2558e2",
"rgb": {
"r": 37,
"g": 88,
"b": 226
},
"hsl": {
"h": 223.81,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.5177,
"c": 0.21664,
"h": 264.4
},
"luminance": 0.12864
}Semantic roles & 50–950 ramp
primary
#2558E2
secondary
#DBC588
accent
#C035F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84