#6178E4#6178E4
#6178E4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.165 H 271.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6178E4 |
|---|---|
| RGB | rgb(97, 120, 228) |
| HSL | hsl(229, 71%, 64%) |
| HSV | hsv(229, 57%, 89%) |
| CMYK | cmyk(57.5%, 47.4%, 0%, 10.6%) |
| CIE-LAB | lab(53.57, 23.21, -57.61) |
| CIE-LCH | lch(53.57, 62.11, 291.95°) |
| OKLab | oklab(60.84% 0.0048 -0.1645) |
| OKLCH | oklch(60.84% 0.165 271.7) |
| XYZ | xyz(25.6452, 21.5738, 76.1965) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.02
Cornflower Blue
#5170D7
ΔE00 3.90
Lightish Blue
#3D7AFD
ΔE00 4.80
Soft Blue
#6488EA
ΔE00 5.40
Royal Blue
#4169E1
ΔE00 6.10
Clear Blue
#247AFD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178E4 #E4CD61
analogous
#61B9E4 #6178E4 #8B61E4
triadic
#6178E4 #E46178 #78E461
tetradic
#6178E4 #E461B9 #E4CD61 #61E48B
square
#6178E4 #E461B9 #E4CD61 #61E48B
split-complementary
#6178E4 #E48B61 #B9E461
monochromatic
#1E37AD #2D4BDB #6178E4 #95A5ED #CAD1F6
Accessibility & contrast
On white
3.95
#6178E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#6178E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178E4
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178E4 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6178e4; /* rgb */ color: rgb(97, 120, 228); /* oklch */ color: oklch(60.8% 0.165 271.7);
Tailwind
colors: {
custom: {
50: '#989eed',
500: '#6178e4',
950: '#000000',
},
}SCSS
$custom: #6178e4; $custom-light: #989eed; $custom-dark: #000000;
JSON
{
"hex": "#6178e4",
"rgb": {
"r": 97,
"g": 120,
"b": 228
},
"hsl": {
"h": 229.466,
"s": 70.811,
"l": 63.725
},
"oklch": {
"l": 0.60841,
"c": 0.16456,
"h": 271.7
},
"luminance": 0.21576
}Semantic roles & 50–950 ramp
primary
#6178E4
secondary
#E7DFB9
accent
#B113D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84