#6178E1#6178E1
#6178E1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.160 H 271.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6178E1 |
|---|---|
| RGB | rgb(97, 120, 225) |
| HSL | hsl(229, 68%, 63%) |
| HSV | hsv(229, 57%, 88%) |
| CMYK | cmyk(56.9%, 46.7%, 0%, 11.8%) |
| CIE-LAB | lab(53.39, 22.24, -56.21) |
| CIE-LCH | lch(53.39, 60.45, 291.58°) |
| OKLab | oklab(60.65% 0.0044 -0.1604) |
| OKLCH | oklch(60.65% 0.16 271.6) |
| XYZ | xyz(25.2324, 21.4087, 74.0222) |
| Luminance | 0.2141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.37
Cornflower Blue
#5170D7
ΔE00 3.71
Lightish Blue
#3D7AFD
ΔE00 4.97
Soft Blue
#6488EA
ΔE00 5.46
Royal Blue
#4169E1
ΔE00 6.03
Clear Blue
#247AFD
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178E1 #E1CA61
analogous
#61B8E1 #6178E1 #8A61E1
triadic
#6178E1 #E16178 #78E161
tetradic
#6178E1 #E161B8 #E1CA61 #61E18A
square
#6178E1 #E161B8 #E1CA61 #61E18A
split-complementary
#6178E1 #E18A61 #B8E161
monochromatic
#2038A8 #2E4CD7 #6178E1 #94A4EB #C8D0F5
Accessibility & contrast
On white
3.98
#6178E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#6178E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178E1
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178E1 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4685E5
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#038FA2
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6178e1; /* rgb */ color: rgb(97, 120, 225); /* oklch */ color: oklch(60.6% 0.160 271.6);
Tailwind
colors: {
custom: {
50: '#979eeb',
500: '#6178e1',
950: '#000000',
},
}SCSS
$custom: #6178e1; $custom-light: #979eeb; $custom-dark: #000000;
JSON
{
"hex": "#6178e1",
"rgb": {
"r": 97,
"g": 120,
"b": 225
},
"hsl": {
"h": 229.219,
"s": 68.085,
"l": 63.137
},
"oklch": {
"l": 0.60649,
"c": 0.16044,
"h": 271.6
},
"luminance": 0.21411
}Semantic roles & 50–950 ramp
primary
#6178E1
secondary
#E6DEB8
accent
#AE15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84