#2358E2#2358E2
#2358E2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.7% C 0.217 H 264.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2358E2 |
|---|---|
| RGB | rgb(35, 88, 226) |
| HSL | hsl(223, 77%, 51%) |
| HSV | hsv(223, 85%, 89%) |
| CMYK | cmyk(84.5%, 61.1%, 0%, 11.4%) |
| CIE-LAB | lab(42.50, 34.48, -74.56) |
| CIE-LCH | lch(42.50, 82.14, 294.82°) |
| OKLab | oklab(51.71% -0.0224 -0.2159) |
| OKLCH | oklch(51.71% 0.217 264.1) |
| XYZ | xyz(17.9054, 12.8255, 73.4686) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 3.65
Electric Blue
#0652FF
ΔE00 3.69
Bright Blue
#0165FC
ΔE00 5.32
Royal Blue
#4169E1
ΔE00 5.63
Sapphire
#0F52BA
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2358E2 #E2AD23
analogous
#23B7E2 #2358E2 #4D23E2
triadic
#2358E2 #E22358 #58E223
tetradic
#2358E2 #E223B7 #E2AD23 #23E24D
square
#2358E2 #E223B7 #E2AD23 #23E24D
split-complementary
#2358E2 #E24D23 #B7E223
monochromatic
#102E7A #1742B1 #2358E2 #5981E9 #8FAAF0
Accessibility & contrast
On white
5.89
#2358E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2358E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2358E2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2358E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2358E2 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2358e2; /* rgb */ color: rgb(35, 88, 226); /* oklch */ color: oklch(51.7% 0.217 264.1);
Tailwind
colors: {
custom: {
50: '#8186ec',
500: '#2358e2',
950: '#000000',
},
}SCSS
$custom: #2358e2; $custom-light: #8186ec; $custom-dark: #000000;
JSON
{
"hex": "#2358e2",
"rgb": {
"r": 35,
"g": 88,
"b": 226
},
"hsl": {
"h": 223.351,
"s": 76.707,
"l": 51.176
},
"oklch": {
"l": 0.51714,
"c": 0.21705,
"h": 264.1
},
"luminance": 0.12828
}Semantic roles & 50–950 ramp
primary
#2358E2
secondary
#DBC386
accent
#BE35F3
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84