#6264E4#6264E4
#6264E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.190 H 277.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6264E4 |
|---|---|
| RGB | rgb(98, 100, 228) |
| HSL | hsl(239, 71%, 64%) |
| HSV | hsv(239, 57%, 89%) |
| CMYK | cmyk(57%, 56.1%, 0%, 10.6%) |
| CIE-LAB | lab(48.65, 35.57, -65.54) |
| CIE-LCH | lch(48.65, 74.57, 298.49°) |
| OKLab | oklab(57.16% 0.026 -0.188) |
| OKLCH | oklch(57.16% 0.19 277.9) |
| XYZ | xyz(23.5933, 17.3108, 75.4818) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.26
Mediumslateblue
#7B68EE
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6264E4 #E4E262
analogous
#62A5E4 #6264E4 #A162E4
triadic
#6264E4 #E46264 #64E462
tetradic
#6264E4 #E462A5 #E4E262 #62E4A1
square
#6264E4 #E462A5 #E4E262 #62E4A1
split-complementary
#6264E4 #E4A162 #A5E462
monochromatic
#1E20AE #2E30DB #6264E4 #9698ED #CACBF6
Accessibility & contrast
On white
4.71
#6264E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#6264E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6264E4
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6264E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6264E4 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#0F829A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6264e4; /* rgb */ color: rgb(98, 100, 228); /* oklch */ color: oklch(57.2% 0.190 277.9);
Tailwind
colors: {
custom: {
50: '#9990ed',
500: '#6264e4',
950: '#000000',
},
}SCSS
$custom: #6264e4; $custom-light: #9990ed; $custom-dark: #000000;
JSON
{
"hex": "#6264e4",
"rgb": {
"r": 98,
"g": 100,
"b": 228
},
"hsl": {
"h": 239.077,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.57157,
"c": 0.18978,
"h": 277.9
},
"luminance": 0.17312
}Semantic roles & 50–950 ramp
primary
#6264E4
secondary
#E8E7BA
accent
#D013D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84