#6366B4#6366B4
#6366B4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.120 H 279.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6366B4 |
|---|---|
| RGB | rgb(99, 102, 180) |
| HSL | hsl(238, 35%, 55%) |
| HSV | hsv(238, 45%, 71%) |
| CMYK | cmyk(45%, 43.3%, 0%, 29.4%) |
| CIE-LAB | lab(46.24, 19.54, -41.88) |
| CIE-LCH | lch(46.24, 46.21, 295.02°) |
| OKLab | oklab(54.41% 0.0208 -0.1184) |
| OKLCH | oklch(54.41% 0.12 279.9) |
| XYZ | xyz(18.1327, 15.4498, 45.1978) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.34
Iris
#6258C4
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 6.50
Dusky Blue
#475F94
ΔE00 7.39
Cornflower Blue
#5170D7
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366B4 #B4B163
analogous
#638EB4 #6366B4 #8963B4
triadic
#6366B4 #B46366 #66B463
tetradic
#6366B4 #B4638E #B4B163 #63B489
square
#6366B4 #B4638E #B4B163 #63B489
split-complementary
#6366B4 #B48963 #8EB463
monochromatic
#33356A #474A93 #6366B4 #8C8FC8 #B6B7DC
Accessibility & contrast
On white
5.13
#6366B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#6366B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366B4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366B4 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#487684
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6366b4; /* rgb */ color: rgb(99, 102, 180); /* oklch */ color: oklch(54.4% 0.120 279.9);
Tailwind
colors: {
custom: {
50: '#9491cb',
500: '#6366b4',
950: '#000000',
},
}SCSS
$custom: #6366b4; $custom-light: #9491cb; $custom-dark: #000000;
JSON
{
"hex": "#6366b4",
"rgb": {
"r": 99,
"g": 102,
"b": 180
},
"hsl": {
"h": 237.778,
"s": 35.065,
"l": 54.706
},
"oklch": {
"l": 0.54411,
"c": 0.12022,
"h": 279.9
},
"luminance": 0.15451
}Semantic roles & 50–950 ramp
primary
#6366B4
secondary
#CAC9A8
accent
#C75DCB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82