#2556E2#2556E2
#2556E2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.4% C 0.219 H 264.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2556E2 |
|---|---|
| RGB | rgb(37, 86, 226) |
| HSL | hsl(224, 77%, 52%) |
| HSV | hsv(224, 84%, 89%) |
| CMYK | cmyk(83.6%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(42.06, 35.88, -75.28) |
| CIE-LCH | lch(42.06, 83.39, 295.49°) |
| OKLab | oklab(51.4% -0.0203 -0.218) |
| OKLCH | oklch(51.4% 0.219 264.7) |
| XYZ | xyz(17.8133, 12.5377, 73.4179) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.59
Warm Blue
#4B57DB
ΔE00 3.35
Electric Blue
#0652FF
ΔE00 3.42
Blue (survey)
#0343DF
ΔE00 5.58
Bright Blue
#0165FC
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2556E2 #E2B125
analogous
#25B5E2 #2556E2 #5325E2
triadic
#2556E2 #E22556 #56E225
tetradic
#2556E2 #E225B5 #E2B125 #25E253
square
#2556E2 #E225B5 #E2B125 #25E253
split-complementary
#2556E2 #E25325 #B5E225
monochromatic
#112C7C #1840B2 #2556E2 #5B80E9 #91AAF0
Accessibility & contrast
On white
5.99
#2556E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2556E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2556E2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2556E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2556E2 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2556e2; /* rgb */ color: rgb(37, 86, 226); /* oklch */ color: oklch(51.4% 0.219 264.7);
Tailwind
colors: {
custom: {
50: '#8285ec',
500: '#2556e2',
950: '#000000',
},
}SCSS
$custom: #2556e2; $custom-light: #8285ec; $custom-dark: #000000;
JSON
{
"hex": "#2556e2",
"rgb": {
"r": 37,
"g": 86,
"b": 226
},
"hsl": {
"h": 224.444,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.51402,
"c": 0.21893,
"h": 264.7
},
"luminance": 0.1254
}Semantic roles & 50–950 ramp
primary
#2556E2
secondary
#DBC588
accent
#C235F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84