#6366B9#6366B9
#6366B9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.127 H 279.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6366B9 |
|---|---|
| RGB | rgb(99, 102, 185) |
| HSL | hsl(238, 38%, 56%) |
| HSV | hsv(238, 46%, 73%) |
| CMYK | cmyk(46.5%, 44.9%, 0%, 27.5%) |
| CIE-LAB | lab(46.52, 21.06, -44.34) |
| CIE-LCH | lch(46.52, 49.09, 295.41°) |
| OKLab | oklab(54.71% 0.0216 -0.1257) |
| OKLCH | oklch(54.71% 0.127 279.7) |
| XYZ | xyz(18.6513, 15.6572, 47.9289) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.60
Iris
#6258C4
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 5.93
Cornflower Blue
#5170D7
ΔE00 6.97
Warm Blue
#4B57DB
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366B9 #B9B663
analogous
#6391B9 #6366B9 #8B63B9
triadic
#6366B9 #B96366 #66B963
tetradic
#6366B9 #B96391 #B9B663 #63B98B
square
#6366B9 #B96391 #B9B663 #63B98B
split-complementary
#6366B9 #B98B63 #91B963
monochromatic
#323470 #45489A #6366B9 #8D8FCC #B7B9DF
Accessibility & contrast
On white
5.08
#6366B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#6366B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366B9
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366B9 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#457786
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6366b9; /* rgb */ color: rgb(99, 102, 185); /* oklch */ color: oklch(54.7% 0.127 279.7);
Tailwind
colors: {
custom: {
50: '#9491ce',
500: '#6366b9',
950: '#000000',
},
}SCSS
$custom: #6366b9; $custom-light: #9491ce; $custom-dark: #000000;
JSON
{
"hex": "#6366b9",
"rgb": {
"r": 99,
"g": 102,
"b": 185
},
"hsl": {
"h": 237.907,
"s": 38.053,
"l": 55.686
},
"oklch": {
"l": 0.54712,
"c": 0.12749,
"h": 279.7
},
"luminance": 0.15658
}Semantic roles & 50–950 ramp
primary
#6366B9
secondary
#CECDAA
accent
#CA5ACE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82