#6178EA#6178EA
#6178EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.173 H 271.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6178EA |
|---|---|
| RGB | rgb(97, 120, 234) |
| HSL | hsl(230, 77%, 65%) |
| HSV | hsv(230, 59%, 92%) |
| CMYK | cmyk(58.5%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.93, 25.17, -60.39) |
| CIE-LCH | lch(53.93, 65.42, 292.63°) |
| OKLab | oklab(61.23% 0.0055 -0.1726) |
| OKLCH | oklch(61.23% 0.173 271.8) |
| XYZ | xyz(26.4926, 21.9128, 80.6595) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.36
Cornflower Blue
#5170D7
ΔE00 4.37
Lightish Blue
#3D7AFD
ΔE00 4.56
Soft Blue
#6488EA
ΔE00 5.34
Clear Blue
#247AFD
ΔE00 6.20
Dodger Blue
#3E82FC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178EA #EAD361
analogous
#61BCEA #6178EA #8F61EA
triadic
#6178EA #EA6178 #78EA61
tetradic
#6178EA #EA61BC #EAD361 #61EA8F
square
#6178EA #EA61BC #EAD361 #61EA8F
split-complementary
#6178EA #EA8F61 #BCEA61
monochromatic
#1833B8 #2B4AE3 #6178EA #97A6F1 #CDD4F8
Accessibility & contrast
On white
3.90
#6178EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#6178EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178EA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178EA | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6178ea; /* rgb */ color: rgb(97, 120, 234); /* oklch */ color: oklch(61.2% 0.173 271.8);
Tailwind
colors: {
custom: {
50: '#999ef1',
500: '#6178ea',
950: '#000000',
},
}SCSS
$custom: #6178ea; $custom-light: #999ef1; $custom-dark: #000000;
JSON
{
"hex": "#6178ea",
"rgb": {
"r": 97,
"g": 120,
"b": 234
},
"hsl": {
"h": 229.927,
"s": 76.536,
"l": 64.902
},
"oklch": {
"l": 0.61233,
"c": 0.17274,
"h": 271.8
},
"luminance": 0.21915
}Semantic roles & 50–950 ramp
primary
#6178EA
secondary
#EBE3BC
accent
#B60DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85