#6178EF#6178EF
#6178EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.179 H 271.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #6178EF |
|---|---|
| RGB | rgb(97, 120, 239) |
| HSL | hsl(230, 82%, 66%) |
| HSV | hsv(230, 59%, 94%) |
| CMYK | cmyk(59.4%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(54.24, 26.81, -62.68) |
| CIE-LCH | lch(54.24, 68.17, 293.16°) |
| OKLab | oklab(61.57% 0.006 -0.1794) |
| OKLCH | oklch(61.57% 0.18 271.9) |
| XYZ | xyz(27.2211, 22.2041, 84.4960) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.87
Lightish Blue
#3D7AFD
ΔE00 4.44
Cornflower Blue
#5170D7
ΔE00 4.82
Soft Blue
#6488EA
ΔE00 5.37
Clear Blue
#247AFD
ΔE00 6.18
Dodger Blue
#3E82FC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178EF #EFD861
analogous
#61BFEF #6178EF #9161EF
triadic
#6178EF #EF6178 #78EF61
tetradic
#6178EF #EF61BF #EFD861 #61EF91
square
#6178EF #EF61BF #EFD861 #61EF91
split-complementary
#6178EF #EF9161 #BFEF61
monochromatic
#1430C2 #2949E9 #6178EF #99A7F5 #D0D7FA
Accessibility & contrast
On white
3.86
#6178EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#6178EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178EF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178EF | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#177CED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6178ef; /* rgb */ color: rgb(97, 120, 239); /* oklch */ color: oklch(61.6% 0.179 271.9);
Tailwind
colors: {
custom: {
50: '#9a9ef5',
500: '#6178ef',
950: '#000000',
},
}SCSS
$custom: #6178ef; $custom-light: #9a9ef5; $custom-dark: #000000;
JSON
{
"hex": "#6178ef",
"rgb": {
"r": 97,
"g": 120,
"b": 239
},
"hsl": {
"h": 230.282,
"s": 81.609,
"l": 65.882
},
"oklch": {
"l": 0.61566,
"c": 0.1795,
"h": 271.9
},
"luminance": 0.22206
}Semantic roles & 50–950 ramp
primary
#6178EF
secondary
#EDE6BE
accent
#BB08DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85