#6354E2#6354E2
#6354E2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.207 H 281.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6354E2 |
|---|---|
| RGB | rgb(99, 84, 226) |
| HSL | hsl(246, 71%, 61%) |
| HSV | hsv(246, 63%, 89%) |
| CMYK | cmyk(56.2%, 62.8%, 0%, 11.4%) |
| CIE-LAB | lab(44.92, 44.60, -70.47) |
| CIE-LCH | lch(44.92, 83.40, 302.33°) |
| OKLab | oklab(54.38% 0.0423 -0.2025) |
| OKLCH | oklch(54.38% 0.207 281.8) |
| XYZ | xyz(22.0391, 14.4829, 73.5709) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 3.88
Iris
#6258C4
ΔE00 4.32
Purpleish Blue
#6140EF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6354E2 #D3E254
analogous
#548CE2 #6354E2 #AA54E2
triadic
#6354E2 #E26354 #54E263
tetradic
#6354E2 #E2548C #D3E254 #54E2AA
square
#6354E2 #E2548C #D3E254 #54E2AA
split-complementary
#6354E2 #E2AA54 #8CE254
monochromatic
#291BA0 #3724D5 #6354E2 #9388EB #C2BDF4
Accessibility & contrast
On white
5.39
#6354E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6354E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6354E2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6354E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6354E2 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#1F7793
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6354e2; /* rgb */ color: rgb(99, 84, 226); /* oklch */ color: oklch(54.4% 0.207 281.8);
Tailwind
colors: {
custom: {
50: '#9b85ec',
500: '#6354e2',
950: '#000000',
},
}SCSS
$custom: #6354e2; $custom-light: #9b85ec; $custom-dark: #000000;
JSON
{
"hex": "#6354e2",
"rgb": {
"r": 99,
"g": 84,
"b": 226
},
"hsl": {
"h": 246.338,
"s": 71,
"l": 60.784
},
"oklch": {
"l": 0.54383,
"c": 0.20692,
"h": 281.8
},
"luminance": 0.14484
}Semantic roles & 50–950 ramp
primary
#6354E2
secondary
#DEE4AE
accent
#D312BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84