#6356E4#6356E4
#6356E4 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.207 H 281.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6356E4 |
|---|---|
| RGB | rgb(99, 86, 228) |
| HSL | hsl(245, 72%, 62%) |
| HSV | hsv(245, 62%, 89%) |
| CMYK | cmyk(56.6%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(45.51, 44.06, -70.64) |
| CIE-LCH | lch(45.51, 83.25, 301.95°) |
| OKLab | oklab(54.86% 0.0404 -0.203) |
| OKLCH | oklch(54.86% 0.207 281.2) |
| XYZ | xyz(22.4726, 14.9082, 75.0771) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.40
Slate Blue
#6A5ACD
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 3.84
Iris
#6258C4
ΔE00 4.49
Purpleish Blue
#6140EF
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6356E4 #D7E456
analogous
#5690E4 #6356E4 #AA56E4
triadic
#6356E4 #E46356 #56E463
tetradic
#6356E4 #E45690 #D7E456 #56E4AA
square
#6356E4 #E45690 #D7E456 #56E4AA
split-complementary
#6356E4 #E4AA56 #90E456
monochromatic
#271AA5 #3423DA #6356E4 #948BEC #C4C0F5
Accessibility & contrast
On white
5.27
#6356E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6356E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6356E4
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6356E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6356E4 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#1B7995
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6356e4; /* rgb */ color: rgb(99, 86, 228); /* oklch */ color: oklch(54.9% 0.207 281.2);
Tailwind
colors: {
custom: {
50: '#9b86ed',
500: '#6356e4',
950: '#000000',
},
}SCSS
$custom: #6356e4; $custom-light: #9b86ed; $custom-dark: #000000;
JSON
{
"hex": "#6356e4",
"rgb": {
"r": 99,
"g": 86,
"b": 228
},
"hsl": {
"h": 245.493,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.54862,
"c": 0.207,
"h": 281.2
},
"luminance": 0.1491
}Semantic roles & 50–950 ramp
primary
#6356E4
secondary
#E0E5B0
accent
#D511C3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84