#2256E3#2256E3
#2256E3 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.4% C 0.221 H 264.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2256E3 |
|---|---|
| RGB | rgb(34, 86, 227) |
| HSL | hsl(224, 78%, 51%) |
| HSV | hsv(224, 85%, 89%) |
| CMYK | cmyk(85%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(42.06, 36.06, -75.84) |
| CIE-LCH | lch(42.06, 83.98, 295.43°) |
| OKLab | oklab(51.41% -0.022 -0.2197) |
| OKLCH | oklch(51.41% 0.221 264.3) |
| XYZ | xyz(17.8477, 12.5395, 74.1378) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.52
Electric Blue
#0652FF
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 3.49
Blue (survey)
#0343DF
ΔE00 5.60
Bright Blue
#0165FC
ΔE00 5.80
Sapphire
#0F52BA
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2256E3 #E3AF22
analogous
#22B6E3 #2256E3 #4E22E3
triadic
#2256E3 #E32256 #56E322
tetradic
#2256E3 #E322B6 #E3AF22 #22E34E
square
#2256E3 #E322B6 #E3AF22 #22E34E
split-complementary
#2256E3 #E34E22 #B6E322
monochromatic
#102D7B #1640B1 #2256E3 #5880EA #8FA9F1
Accessibility & contrast
On white
5.99
#2256E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2256E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2256E3
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2256E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2256E3 | 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)
#006CE8
Deuteranopia (green-blind)
#005BE0
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2256e3; /* rgb */ color: rgb(34, 86, 227); /* oklch */ color: oklch(51.4% 0.221 264.3);
Tailwind
colors: {
custom: {
50: '#8185ed',
500: '#2256e3',
950: '#000000',
},
}SCSS
$custom: #2256e3; $custom-light: #8185ed; $custom-dark: #000000;
JSON
{
"hex": "#2256e3",
"rgb": {
"r": 34,
"g": 86,
"b": 227
},
"hsl": {
"h": 223.834,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.51407,
"c": 0.22079,
"h": 264.3
},
"luminance": 0.12542
}Semantic roles & 50–950 ramp
primary
#2256E3
secondary
#DBC486
accent
#C034F4
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84