#6366CF#6366CF
#6366CF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.159 H 278.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6366CF |
|---|---|
| RGB | rgb(99, 102, 207) |
| HSL | hsl(238, 53%, 60%) |
| HSV | hsv(238, 52%, 81%) |
| CMYK | cmyk(52.2%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.83, 27.90, -54.94) |
| CIE-LCH | lch(47.83, 61.61, 296.92°) |
| OKLab | oklab(56.12% 0.0241 -0.1567) |
| OKLCH | oklch(56.12% 0.159 278.7) |
| XYZ | xyz(21.1559, 16.6591, 61.1201) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.63
Iris
#6258C4
ΔE00 4.86
Cornflower Blue
#5170D7
ΔE00 5.41
Warm Blue
#4B57DB
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366CF #CFCC63
analogous
#639CCF #6366CF #9663CF
triadic
#6366CF #CF6366 #66CF63
tetradic
#6366CF #CF639C #CFCC63 #63CF96
square
#6366CF #CF639C #CFCC63 #63CF96
split-complementary
#6366CF #CF9663 #9CCF63
monochromatic
#2B2E8C #3A3DBB #6366CF #9294DD #C1C2EC
Accessibility & contrast
On white
4.85
#6366CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#6366CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366CF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366CF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#246DCD
Tritanopia (blue-blind)
#347D91
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6366cf; /* rgb */ color: rgb(99, 102, 207); /* oklch */ color: oklch(56.1% 0.159 278.7);
Tailwind
colors: {
custom: {
50: '#9791de',
500: '#6366cf',
950: '#000000',
},
}SCSS
$custom: #6366cf; $custom-light: #9791de; $custom-dark: #000000;
JSON
{
"hex": "#6366cf",
"rgb": {
"r": 99,
"g": 102,
"b": 207
},
"hsl": {
"h": 238.333,
"s": 52.941,
"l": 60
},
"oklch": {
"l": 0.5612,
"c": 0.15858,
"h": 278.7
},
"luminance": 0.1666
}Semantic roles & 50–950 ramp
primary
#6366CF
secondary
#DCDBB2
accent
#D84BDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83