#2554E2#2554E2
#2554E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.221 H 265.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2554E2 |
|---|---|
| RGB | rgb(37, 84, 226) |
| HSL | hsl(225, 77%, 52%) |
| HSV | hsv(225, 84%, 89%) |
| CMYK | cmyk(83.6%, 62.8%, 0%, 11.4%) |
| CIE-LAB | lab(41.57, 37.15, -76.08) |
| CIE-LCH | lch(41.57, 84.67, 296.03°) |
| OKLab | oklab(51.04% -0.0193 -0.2204) |
| OKLCH | oklch(51.04% 0.221 265) |
| XYZ | xyz(17.6559, 12.2228, 73.3654) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.17
Warm Blue
#4B57DB
ΔE00 3.30
Electric Blue
#0652FF
ΔE00 3.30
Blue (survey)
#0343DF
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2554E2 #E2B325
analogous
#25B3E2 #2554E2 #5525E2
triadic
#2554E2 #E22554 #54E225
tetradic
#2554E2 #E225B3 #E2B325 #25E255
square
#2554E2 #E225B3 #E2B325 #25E255
split-complementary
#2554E2 #E25525 #B3E225
monochromatic
#112B7C #183EB2 #2554E2 #5B7EE9 #91A9F0
Accessibility & contrast
On white
6.10
#2554E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2554E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2554E2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2554E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2554E2 | 1.00 | 6.10 | 3.45 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2554e2; /* rgb */ color: rgb(37, 84, 226); /* oklch */ color: oklch(51.0% 0.221 265.0);
Tailwind
colors: {
custom: {
50: '#8283ec',
500: '#2554e2',
950: '#000000',
},
}SCSS
$custom: #2554e2; $custom-light: #8283ec; $custom-dark: #000000;
JSON
{
"hex": "#2554e2",
"rgb": {
"r": 37,
"g": 84,
"b": 226
},
"hsl": {
"h": 225.079,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.51039,
"c": 0.22122,
"h": 265
},
"luminance": 0.12225
}Semantic roles & 50–950 ramp
primary
#2554E2
secondary
#DBC688
accent
#C435F3
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84