#6366CA#6366CA
#6366CA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.152 H 279.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6366CA |
|---|---|
| RGB | rgb(99, 102, 202) |
| HSL | hsl(238, 49%, 59%) |
| HSV | hsv(238, 51%, 79%) |
| CMYK | cmyk(51%, 49.5%, 0%, 20.8%) |
| CIE-LAB | lab(47.52, 26.33, -52.57) |
| CIE-LCH | lch(47.52, 58.79, 296.61°) |
| OKLab | oklab(55.79% 0.0237 -0.1498) |
| OKLCH | oklch(55.79% 0.152 279) |
| XYZ | xyz(20.5543, 16.4185, 57.9517) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 4.43
Iris
#6258C4
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 5.62
Warm Blue
#4B57DB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366CA #CAC763
analogous
#639ACA #6366CA #9463CA
triadic
#6366CA #CA6366 #66CA63
tetradic
#6366CA #CA639A #CAC763 #63CA94
square
#6366CA #CA639A #CAC763 #63CA94
split-complementary
#6366CA #CA9463 #9ACA63
monochromatic
#2D3085 #3D40B3 #6366CA #9193DA #BEC0E9
Accessibility & contrast
On white
4.90
#6366CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#6366CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366CA
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366CA | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#397C8E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6366ca; /* rgb */ color: rgb(99, 102, 202); /* oklch */ color: oklch(55.8% 0.152 279.0);
Tailwind
colors: {
custom: {
50: '#9691db',
500: '#6366ca',
950: '#000000',
},
}SCSS
$custom: #6366ca; $custom-light: #9691db; $custom-dark: #000000;
JSON
{
"hex": "#6366ca",
"rgb": {
"r": 99,
"g": 102,
"b": 202
},
"hsl": {
"h": 238.252,
"s": 49.282,
"l": 59.02
},
"oklch": {
"l": 0.55788,
"c": 0.15164,
"h": 279
},
"luminance": 0.1642
}Semantic roles & 50–950 ramp
primary
#6366CA
secondary
#D9D7B0
accent
#D54FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83