#2254E3#2254E3
#2254E3 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.223 H 264.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2254E3 |
|---|---|
| RGB | rgb(34, 84, 227) |
| HSL | hsl(224, 78%, 51%) |
| HSV | hsv(224, 85%, 89%) |
| CMYK | cmyk(85%, 63%, 0%, 11%) |
| CIE-LAB | lab(41.57, 37.32, -76.65) |
| CIE-LCH | lch(41.57, 85.25, 295.96°) |
| OKLab | oklab(51.04% -0.0211 -0.2221) |
| OKLCH | oklch(51.04% 0.223 264.6) |
| XYZ | xyz(17.6902, 12.2246, 74.0853) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.11
Electric Blue
#0652FF
ΔE00 3.23
Warm Blue
#4B57DB
ΔE00 3.43
Blue (survey)
#0343DF
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 6.07
Bright Blue
#0165FC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2254E3 #E3B122
analogous
#22B4E3 #2254E3 #5022E3
triadic
#2254E3 #E32254 #54E322
tetradic
#2254E3 #E322B4 #E3B122 #22E350
square
#2254E3 #E322B4 #E3B122 #22E350
split-complementary
#2254E3 #E35022 #B4E322
monochromatic
#102B7B #163FB1 #2254E3 #587EEA #8FA8F1
Accessibility & contrast
On white
6.10
#2254E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2254E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2254E3
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2254E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2254E3 | 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)
#006BE8
Deuteranopia (green-blind)
#0059E0
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2254e3; /* rgb */ color: rgb(34, 84, 227); /* oklch */ color: oklch(51.0% 0.223 264.6);
Tailwind
colors: {
custom: {
50: '#8183ed',
500: '#2254e3',
950: '#000000',
},
}SCSS
$custom: #2254e3; $custom-light: #8183ed; $custom-dark: #000000;
JSON
{
"hex": "#2254e3",
"rgb": {
"r": 34,
"g": 84,
"b": 227
},
"hsl": {
"h": 224.456,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.51043,
"c": 0.22306,
"h": 264.6
},
"luminance": 0.12227
}Semantic roles & 50–950 ramp
primary
#2254E3
secondary
#DBC586
accent
#C234F4
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0A16
muted
#7D7C84