#6178F0#6178F0
#6178F0 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.181 H 271.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6178F0 |
|---|---|
| RGB | rgb(97, 120, 240) |
| HSL | hsl(230, 83%, 66%) |
| HSV | hsv(230, 60%, 94%) |
| CMYK | cmyk(59.6%, 50%, 0%, 5.9%) |
| CIE-LAB | lab(54.31, 27.13, -63.14) |
| CIE-LCH | lch(54.31, 68.72, 293.26°) |
| OKLab | oklab(61.63% 0.0061 -0.1807) |
| OKLCH | oklch(61.63% 0.181 271.9) |
| XYZ | xyz(27.3692, 22.2634, 85.2762) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.78
Lightish Blue
#3D7AFD
ΔE00 4.43
Cornflower Blue
#5170D7
ΔE00 4.91
Soft Blue
#6488EA
ΔE00 5.38
Clear Blue
#247AFD
ΔE00 6.18
Dodger Blue
#3E82FC
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178F0 #F0D961
analogous
#61BFF0 #6178F0 #9161F0
triadic
#6178F0 #F06178 #78F061
tetradic
#6178F0 #F061BF #F0D961 #61F091
square
#6178F0 #F061BF #F0D961 #61F091
split-complementary
#6178F0 #F09161 #BFF061
monochromatic
#132FC4 #2948EB #6178F0 #99A8F5 #D1D8FB
Accessibility & contrast
On white
3.85
#6178F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#6178F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178F0
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178F0 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#147CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6178f0; /* rgb */ color: rgb(97, 120, 240); /* oklch */ color: oklch(61.6% 0.181 271.9);
Tailwind
colors: {
custom: {
50: '#9a9ef6',
500: '#6178f0',
950: '#000000',
},
}SCSS
$custom: #6178f0; $custom-light: #9a9ef6; $custom-dark: #000000;
JSON
{
"hex": "#6178f0",
"rgb": {
"r": 97,
"g": 120,
"b": 240
},
"hsl": {
"h": 230.35,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.61633,
"c": 0.18084,
"h": 271.9
},
"luminance": 0.22266
}Semantic roles & 50–950 ramp
primary
#6178F0
secondary
#EEE6BF
accent
#BC06DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85