#6366F2#6366F2
#6366F2 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.6% C 0.205 H 277.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6366F2 |
|---|---|
| RGB | rgb(99, 102, 242) |
| HSL | hsl(239, 85%, 67%) |
| HSV | hsv(239, 59%, 95%) |
| CMYK | cmyk(59.1%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(50.17, 39.01, -70.93) |
| CIE-LCH | lch(50.17, 80.95, 298.81°) |
| OKLab | oklab(58.62% 0.0253 -0.2038) |
| OKLCH | oklch(58.62% 0.205 277.1) |
| XYZ | xyz(25.9188, 18.5643, 86.2046) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.94
Cornflower
#6A79F7
ΔE00 6.05
Cornflower Blue
#5170D7
ΔE00 6.33
Light Indigo
#6D5ACF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6366F2 #F2EF63
analogous
#63AEF2 #6366F2 #A863F2
triadic
#6366F2 #F26366 #66F263
tetradic
#6366F2 #F263AE #F2EF63 #63F2A8
square
#6366F2 #F263AE #F2EF63 #63F2A8
split-complementary
#6366F2 #F2A863 #AEF263
monochromatic
#1115CA #2B2FED #6366F2 #9B9DF7 #D4D5FB
Accessibility & contrast
On white
4.46
#6366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#6366F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6366F2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6366F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6366F2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #6366f2; /* rgb */ color: rgb(99, 102, 242); /* oklch */ color: oklch(58.6% 0.205 277.1);
Tailwind
colors: {
custom: {
50: '#9c92f7',
500: '#6366f2',
950: '#000000',
},
}SCSS
$custom: #6366f2; $custom-light: #9c92f7; $custom-dark: #000000;
JSON
{
"hex": "#6366f2",
"rgb": {
"r": 99,
"g": 102,
"b": 242
},
"hsl": {
"h": 238.741,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.58616,
"c": 0.20535,
"h": 277.1
},
"luminance": 0.18566
}Semantic roles & 50–950 ramp
primary
#6366F2
secondary
#EFEEC2
accent
#DC04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85