#6178E7#6178E7
#6178E7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.169 H 271.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6178E7 |
|---|---|
| RGB | rgb(97, 120, 231) |
| HSL | hsl(230, 74%, 64%) |
| HSV | hsv(230, 58%, 91%) |
| CMYK | cmyk(58%, 48.1%, 0%, 9.4%) |
| CIE-LAB | lab(53.75, 24.19, -59.00) |
| CIE-LCH | lch(53.75, 63.77, 292.29°) |
| OKLab | oklab(61.04% 0.0051 -0.1686) |
| OKLCH | oklch(61.04% 0.169 271.7) |
| XYZ | xyz(26.0653, 21.7418, 78.4088) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.68
Cornflower Blue
#5170D7
ΔE00 4.12
Lightish Blue
#3D7AFD
ΔE00 4.67
Soft Blue
#6488EA
ΔE00 5.36
Royal Blue
#4169E1
ΔE00 6.19
Clear Blue
#247AFD
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178E7 #E7D061
analogous
#61BBE7 #6178E7 #8D61E7
triadic
#6178E7 #E76178 #78E761
tetradic
#6178E7 #E761BB #E7D061 #61E78D
square
#6178E7 #E761BB #E7D061 #61E78D
split-complementary
#6178E7 #E78D61 #BBE761
monochromatic
#1B35B2 #2C4BDF #6178E7 #96A5EF #CBD3F7
Accessibility & contrast
On white
3.93
#6178E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#6178E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178E7
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178E7 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6178e7; /* rgb */ color: rgb(97, 120, 231); /* oklch */ color: oklch(61.0% 0.169 271.7);
Tailwind
colors: {
custom: {
50: '#989eef',
500: '#6178e7',
950: '#000000',
},
}SCSS
$custom: #6178e7; $custom-light: #989eef; $custom-dark: #000000;
JSON
{
"hex": "#6178e7",
"rgb": {
"r": 97,
"g": 120,
"b": 231
},
"hsl": {
"h": 229.701,
"s": 73.626,
"l": 64.314
},
"oklch": {
"l": 0.61036,
"c": 0.16866,
"h": 271.7
},
"luminance": 0.21744
}Semantic roles & 50–950 ramp
primary
#6178E7
secondary
#E9E1BB
accent
#B410D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84