#6366CE#6366CE
#6366CE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.157 H 278.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6366CE |
|---|---|
| RGB | rgb(99, 102, 206) |
| HSL | hsl(238, 52%, 60%) |
| HSV | hsv(238, 52%, 81%) |
| CMYK | cmyk(51.9%, 50.5%, 0%, 19.2%) |
| CIE-LAB | lab(47.77, 27.58, -54.46) |
| CIE-LCH | lch(47.77, 61.05, 296.86°) |
| OKLab | oklab(56.05% 0.024 -0.1553) |
| OKLCH | oklch(56.05% 0.157 278.8) |
| XYZ | xyz(21.0341, 16.6104, 60.4783) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 4.64
Iris
#6258C4
ΔE00 4.82
Cornflower Blue
#5170D7
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366CE #CECB63
analogous
#639BCE #6366CE #9663CE
triadic
#6366CE #CE6366 #66CE63
tetradic
#6366CE #CE639B #CECB63 #63CE96
square
#6366CE #CE639B #CECB63 #63CE96
split-complementary
#6366CE #CE9663 #9BCE63
monochromatic
#2C2E8B #3A3EBA #6366CE #9294DD #C0C1EB
Accessibility & contrast
On white
4.86
#6366CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#6366CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366CE
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366CE | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#357D90
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6366ce; /* rgb */ color: rgb(99, 102, 206); /* oklch */ color: oklch(56.1% 0.157 278.8);
Tailwind
colors: {
custom: {
50: '#9791de',
500: '#6366ce',
950: '#000000',
},
}SCSS
$custom: #6366ce; $custom-light: #9791de; $custom-dark: #000000;
JSON
{
"hex": "#6366ce",
"rgb": {
"r": 99,
"g": 102,
"b": 206
},
"hsl": {
"h": 238.318,
"s": 52.195,
"l": 59.804
},
"oklch": {
"l": 0.56053,
"c": 0.1572,
"h": 278.8
},
"luminance": 0.16612
}Semantic roles & 50–950 ramp
primary
#6366CE
secondary
#DBDAB2
accent
#D84CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83