#6178EB#6178EB
#6178EB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.174 H 271.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6178EB |
|---|---|
| RGB | rgb(97, 120, 235) |
| HSL | hsl(230, 78%, 65%) |
| HSV | hsv(230, 59%, 92%) |
| CMYK | cmyk(58.7%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(54.00, 25.50, -60.85) |
| CIE-LCH | lch(54.00, 65.98, 292.74°) |
| OKLab | oklab(61.3% 0.0056 -0.174) |
| OKLCH | oklch(61.3% 0.174 271.8) |
| XYZ | xyz(26.6367, 21.9704, 81.4182) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.25
Cornflower Blue
#5170D7
ΔE00 4.45
Lightish Blue
#3D7AFD
ΔE00 4.53
Soft Blue
#6488EA
ΔE00 5.34
Clear Blue
#247AFD
ΔE00 6.19
Dodger Blue
#3E82FC
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178EB #EBD461
analogous
#61BDEB #6178EB #8F61EB
triadic
#6178EB #EB6178 #78EB61
tetradic
#6178EB #EB61BD #EBD461 #61EB8F
square
#6178EB #EB61BD #EBD461 #61EB8F
split-complementary
#6178EB #EB8F61 #BDEB61
monochromatic
#1833BA #2B4AE4 #6178EB #97A6F2 #CED5F9
Accessibility & contrast
On white
3.89
#6178EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#6178EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178EB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178EB | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6178eb; /* rgb */ color: rgb(97, 120, 235); /* oklch */ color: oklch(61.3% 0.174 271.8);
Tailwind
colors: {
custom: {
50: '#999ef2',
500: '#6178eb',
950: '#000000',
},
}SCSS
$custom: #6178eb; $custom-light: #999ef2; $custom-dark: #000000;
JSON
{
"hex": "#6178eb",
"rgb": {
"r": 97,
"g": 120,
"b": 235
},
"hsl": {
"h": 230,
"s": 77.528,
"l": 65.098
},
"oklch": {
"l": 0.61299,
"c": 0.1741,
"h": 271.8
},
"luminance": 0.21972
}Semantic roles & 50–950 ramp
primary
#6178EB
secondary
#EBE3BD
accent
#B70CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85