#6178E8#6178E8
#6178E8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.170 H 271.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6178E8 |
|---|---|
| RGB | rgb(97, 120, 232) |
| HSL | hsl(230, 75%, 65%) |
| HSV | hsv(230, 58%, 91%) |
| CMYK | cmyk(58.2%, 48.3%, 0%, 9%) |
| CIE-LAB | lab(53.81, 24.52, -59.47) |
| CIE-LCH | lch(53.81, 64.32, 292.41°) |
| OKLab | oklab(61.1% 0.0053 -0.1699) |
| OKLCH | oklch(61.1% 0.17 271.8) |
| XYZ | xyz(26.2069, 21.7985, 79.1548) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.57
Cornflower Blue
#5170D7
ΔE00 4.20
Lightish Blue
#3D7AFD
ΔE00 4.63
Soft Blue
#6488EA
ΔE00 5.35
Clear Blue
#247AFD
ΔE00 6.22
Royal Blue
#4169E1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178E8 #E8D161
analogous
#61BBE8 #6178E8 #8E61E8
triadic
#6178E8 #E86178 #78E861
tetradic
#6178E8 #E861BB #E8D161 #61E88E
square
#6178E8 #E861BB #E8D161 #61E88E
split-complementary
#6178E8 #E88E61 #BBE861
monochromatic
#1A35B4 #2C4AE0 #6178E8 #96A6F0 #CCD3F8
Accessibility & contrast
On white
3.92
#6178E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#6178E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178E8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178E8 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6178e8; /* rgb */ color: rgb(97, 120, 232); /* oklch */ color: oklch(61.1% 0.170 271.8);
Tailwind
colors: {
custom: {
50: '#989ef0',
500: '#6178e8',
950: '#000000',
},
}SCSS
$custom: #6178e8; $custom-light: #989ef0; $custom-dark: #000000;
JSON
{
"hex": "#6178e8",
"rgb": {
"r": 97,
"g": 120,
"b": 232
},
"hsl": {
"h": 229.778,
"s": 74.586,
"l": 64.51
},
"oklch": {
"l": 0.61102,
"c": 0.17002,
"h": 271.8
},
"luminance": 0.21801
}Semantic roles & 50–950 ramp
primary
#6178E8
secondary
#EAE2BB
accent
#B50FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85