#2557E2#2557E2
#2557E2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.218 H 264.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2557E2 |
|---|---|
| RGB | rgb(37, 87, 226) |
| HSL | hsl(224, 77%, 52%) |
| HSV | hsv(224, 84%, 89%) |
| CMYK | cmyk(83.6%, 61.5%, 0%, 11.4%) |
| CIE-LAB | lab(42.31, 35.25, -74.87) |
| CIE-LCH | lch(42.31, 82.76, 295.21°) |
| OKLab | oklab(51.59% -0.0208 -0.2168) |
| OKLCH | oklch(51.59% 0.218 264.5) |
| XYZ | xyz(17.8937, 12.6985, 73.4447) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.31
Warm Blue
#4B57DB
ΔE00 3.42
Electric Blue
#0652FF
ΔE00 3.52
Bright Blue
#0165FC
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.89
Royal Blue
#4169E1
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2557E2 #E2B025
analogous
#25B6E2 #2557E2 #5225E2
triadic
#2557E2 #E22557 #57E225
tetradic
#2557E2 #E225B6 #E2B025 #25E252
square
#2557E2 #E225B6 #E2B025 #25E252
split-complementary
#2557E2 #E25225 #B6E225
monochromatic
#112D7C #1841B2 #2557E2 #5B81E9 #91AAF0
Accessibility & contrast
On white
5.93
#2557E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2557E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2557E2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2557E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2557E2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2557e2; /* rgb */ color: rgb(37, 87, 226); /* oklch */ color: oklch(51.6% 0.218 264.5);
Tailwind
colors: {
custom: {
50: '#8286ec',
500: '#2557e2',
950: '#000000',
},
}SCSS
$custom: #2557e2; $custom-light: #8286ec; $custom-dark: #000000;
JSON
{
"hex": "#2557e2",
"rgb": {
"r": 37,
"g": 87,
"b": 226
},
"hsl": {
"h": 224.127,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.51585,
"c": 0.21779,
"h": 264.5
},
"luminance": 0.12701
}Semantic roles & 50–950 ramp
primary
#2557E2
secondary
#DBC588
accent
#C135F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84