#6478E8#6478E8
#6478E8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.169 H 272.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6478E8 |
|---|---|
| RGB | rgb(100, 120, 232) |
| HSL | hsl(231, 74%, 65%) |
| HSV | hsv(231, 57%, 91%) |
| CMYK | cmyk(56.9%, 48.3%, 0%, 9%) |
| CIE-LAB | lab(53.99, 25.09, -59.17) |
| CIE-LCH | lch(53.99, 64.27, 292.98°) |
| OKLab | oklab(61.28% 0.0083 -0.169) |
| OKLCH | oklch(61.28% 0.169 272.8) |
| XYZ | xyz(26.5327, 21.9665, 79.1701) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.27
Cornflower Blue
#5170D7
ΔE00 4.50
Lightish Blue
#3D7AFD
ΔE00 5.08
Soft Blue
#6488EA
ΔE00 5.50
Royal Blue
#4169E1
ΔE00 6.52
Clear Blue
#247AFD
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6478E8 #E8D464
analogous
#64BAE8 #6478E8 #9264E8
triadic
#6478E8 #E86478 #78E864
tetradic
#6478E8 #E864BA #E8D464 #64E892
square
#6478E8 #E864BA #E8D464 #64E892
split-complementary
#6478E8 #E89264 #BAE864
monochromatic
#1B33B7 #2F4AE0 #6478E8 #99A6F0 #CFD5F8
Accessibility & contrast
On white
3.89
#6478E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#6478E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6478E8
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6478E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6478E8 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#2B7CE6
Tritanopia (blue-blind)
#0491A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6478e8; /* rgb */ color: rgb(100, 120, 232); /* oklch */ color: oklch(61.3% 0.169 272.8);
Tailwind
colors: {
custom: {
50: '#9a9ef0',
500: '#6478e8',
950: '#000000',
},
}SCSS
$custom: #6478e8; $custom-light: #9a9ef0; $custom-dark: #000000;
JSON
{
"hex": "#6478e8",
"rgb": {
"r": 100,
"g": 120,
"b": 232
},
"hsl": {
"h": 230.909,
"s": 74.157,
"l": 65.098
},
"oklch": {
"l": 0.61284,
"c": 0.16921,
"h": 272.8
},
"luminance": 0.21968
}Semantic roles & 50–950 ramp
primary
#6478E8
secondary
#EAE3BE
accent
#B80FD6
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85