#5E6CF2#5E6CF2
#5E6CF2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.199 H 274.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E6CF2 |
|---|---|
| RGB | rgb(94, 108, 242) |
| HSL | hsl(234, 85%, 66%) |
| HSV | hsv(234, 61%, 95%) |
| CMYK | cmyk(61.2%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(51.28, 34.57, -69.14) |
| CIE-LCH | lch(51.28, 77.30, 296.56°) |
| OKLab | oklab(59.36% 0.0144 -0.1986) |
| OKLCH | oklch(59.36% 0.199 274.1) |
| XYZ | xyz(26.0004, 19.5135, 86.3835) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.33
Cornflower Blue
#5170D7
ΔE00 4.81
Royal Blue
#4169E1
ΔE00 4.98
Mediumslateblue
#7B68EE
ΔE00 5.05
Bright Blue
#0165FC
ΔE00 6.28
Dark Periwinkle
#665FD1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E6CF2 #F2E45E
analogous
#5EB6F2 #5E6CF2 #9A5EF2
triadic
#5E6CF2 #F25E6C #6CF25E
tetradic
#5E6CF2 #F25EB6 #F2E45E #5EF29A
square
#5E6CF2 #F25EB6 #F2E45E #5EF29A
split-complementary
#5E6CF2 #F29A5E #B6F25E
monochromatic
#1021C6 #2538ED #5E6CF2 #97A0F7 #CFD3FB
Accessibility & contrast
On white
4.28
#5E6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#5E6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E6CF2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E6CF2 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5e6cf2; /* rgb */ color: rgb(94, 108, 242); /* oklch */ color: oklch(59.4% 0.199 274.1);
Tailwind
colors: {
custom: {
50: '#9996f7',
500: '#5e6cf2',
950: '#000000',
},
}SCSS
$custom: #5e6cf2; $custom-light: #9996f7; $custom-dark: #000000;
JSON
{
"hex": "#5e6cf2",
"rgb": {
"r": 94,
"g": 108,
"b": 242
},
"hsl": {
"h": 234.324,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.59357,
"c": 0.19913,
"h": 274.1
},
"luminance": 0.19516
}Semantic roles & 50–950 ramp
primary
#5E6CF2
secondary
#EEEABD
accent
#CD04E2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85