#6478EA#6478EA
#6478EA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.172 H 272.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6478EA |
|---|---|
| RGB | rgb(100, 120, 234) |
| HSL | hsl(231, 76%, 65%) |
| HSV | hsv(231, 57%, 92%) |
| CMYK | cmyk(57.3%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(54.11, 25.74, -60.09) |
| CIE-LCH | lch(54.11, 65.37, 293.18°) |
| OKLab | oklab(61.42% 0.0085 -0.1717) |
| OKLCH | oklch(61.42% 0.172 272.8) |
| XYZ | xyz(26.8184, 22.0808, 80.6747) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.04
Cornflower Blue
#5170D7
ΔE00 4.66
Lightish Blue
#3D7AFD
ΔE00 5.01
Soft Blue
#6488EA
ΔE00 5.49
Royal Blue
#4169E1
ΔE00 6.60
Clear Blue
#247AFD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6478EA #EAD664
analogous
#64BBEA #6478EA #9364EA
triadic
#6478EA #EA6478 #78EA64
tetradic
#6478EA #EA64BB #EAD664 #64EA93
square
#6478EA #EA64BB #EAD664 #64EA93
split-complementary
#6478EA #EA9364 #BBEA64
monochromatic
#1931BA #2E49E3 #6478EA #9AA7F1 #D0D6F9
Accessibility & contrast
On white
3.88
#6478EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#6478EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6478EA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6478EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6478EA | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6478ea; /* rgb */ color: rgb(100, 120, 234); /* oklch */ color: oklch(61.4% 0.172 272.8);
Tailwind
colors: {
custom: {
50: '#9a9ef1',
500: '#6478ea',
950: '#000000',
},
}SCSS
$custom: #6478ea; $custom-light: #9a9ef1; $custom-dark: #000000;
JSON
{
"hex": "#6478ea",
"rgb": {
"r": 100,
"g": 120,
"b": 234
},
"hsl": {
"h": 231.045,
"s": 76.136,
"l": 65.49
},
"oklch": {
"l": 0.61415,
"c": 0.17193,
"h": 272.8
},
"luminance": 0.22083
}Semantic roles & 50–950 ramp
primary
#6478EA
secondary
#EBE5BE
accent
#BA0DD8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85