#6366BA#6366BA
#6366BA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.8% C 0.129 H 279.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6366BA |
|---|---|
| RGB | rgb(99, 102, 186) |
| HSL | hsl(238, 39%, 56%) |
| HSV | hsv(238, 47%, 73%) |
| CMYK | cmyk(46.8%, 45.2%, 0%, 27.1%) |
| CIE-LAB | lab(46.58, 21.37, -44.83) |
| CIE-LCH | lch(46.58, 49.67, 295.49°) |
| OKLab | oklab(54.77% 0.0217 -0.1271) |
| OKLCH | oklch(54.77% 0.129 279.7) |
| XYZ | xyz(18.7572, 15.6996, 48.4868) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.46
Iris
#6258C4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 5.82
Cornflower Blue
#5170D7
ΔE00 6.87
Warm Blue
#4B57DB
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366BA #BAB763
analogous
#6391BA #6366BA #8B63BA
triadic
#6366BA #BA6366 #66BA63
tetradic
#6366BA #BA6391 #BAB763 #63BA8B
square
#6366BA #BA6391 #BAB763 #63BA8B
split-complementary
#6366BA #BA8B63 #91BA63
monochromatic
#323471 #45489B #6366BA #8D90CD #B8B9E0
Accessibility & contrast
On white
5.07
#6366BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#6366BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6366BA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6366BA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#457887
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6366ba; /* rgb */ color: rgb(99, 102, 186); /* oklch */ color: oklch(54.8% 0.129 279.7);
Tailwind
colors: {
custom: {
50: '#9491cf',
500: '#6366ba',
950: '#000000',
},
}SCSS
$custom: #6366ba; $custom-light: #9491cf; $custom-dark: #000000;
JSON
{
"hex": "#6366ba",
"rgb": {
"r": 99,
"g": 102,
"b": 186
},
"hsl": {
"h": 237.931,
"s": 38.667,
"l": 55.882
},
"oklch": {
"l": 0.54773,
"c": 0.12893,
"h": 279.7
},
"luminance": 0.15701
}Semantic roles & 50–950 ramp
primary
#6366BA
secondary
#CECDAA
accent
#CB59CF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82