#6178F5#6178F5
#6178F5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.188 H 272.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #6178F5 |
|---|---|
| RGB | rgb(97, 120, 245) |
| HSL | hsl(231, 88%, 67%) |
| HSV | hsv(231, 60%, 96%) |
| CMYK | cmyk(60.4%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(54.62, 28.78, -65.41) |
| CIE-LCH | lch(54.62, 71.46, 293.75°) |
| OKLab | oklab(61.97% 0.0065 -0.1874) |
| OKLCH | oklch(61.97% 0.188 272) |
| XYZ | xyz(28.1222, 22.5646, 89.2419) |
| Luminance | 0.2257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.44
Lightish Blue
#3D7AFD
ΔE00 4.42
Cornflower Blue
#5170D7
ΔE00 5.40
Soft Blue
#6488EA
ΔE00 5.49
Dodger Blue
#3E82FC
ΔE00 6.23
Clear Blue
#247AFD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178F5 #F5DE61
analogous
#61C2F5 #6178F5 #9461F5
triadic
#6178F5 #F56178 #78F561
tetradic
#6178F5 #F561C2 #F5DE61 #61F594
square
#6178F5 #F561C2 #F5DE61 #61F594
split-complementary
#6178F5 #F59461 #C2F561
monochromatic
#0D2BCF #2747F1 #6178F5 #9BA9F9 #D4DAFC
Accessibility & contrast
On white
3.81
#6178F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#6178F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178F5
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178F5 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #6178f5; /* rgb */ color: rgb(97, 120, 245); /* oklch */ color: oklch(62.0% 0.188 272.0);
Tailwind
colors: {
custom: {
50: '#9a9ef9',
500: '#6178f5',
950: '#000000',
},
}SCSS
$custom: #6178f5; $custom-light: #9a9ef9; $custom-dark: #000000;
JSON
{
"hex": "#6178f5",
"rgb": {
"r": 97,
"g": 120,
"b": 245
},
"hsl": {
"h": 230.676,
"s": 88.095,
"l": 67.059
},
"oklch": {
"l": 0.61972,
"c": 0.18753,
"h": 272
},
"luminance": 0.22567
}Semantic roles & 50–950 ramp
primary
#6178F5
secondary
#F0E9C1
accent
#C101E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85