#6178EE#6178EE
#6178EE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.178 H 271.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6178EE |
|---|---|
| RGB | rgb(97, 120, 238) |
| HSL | hsl(230, 81%, 66%) |
| HSV | hsv(230, 59%, 93%) |
| CMYK | cmyk(59.2%, 49.6%, 0%, 6.7%) |
| CIE-LAB | lab(54.18, 26.48, -62.22) |
| CIE-LCH | lch(54.18, 67.62, 293.05°) |
| OKLab | oklab(61.5% 0.0059 -0.1781) |
| OKLCH | oklch(61.5% 0.178 271.9) |
| XYZ | xyz(27.0737, 22.1452, 83.7201) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.96
Lightish Blue
#3D7AFD
ΔE00 4.46
Cornflower Blue
#5170D7
ΔE00 4.72
Soft Blue
#6488EA
ΔE00 5.36
Clear Blue
#247AFD
ΔE00 6.17
Dodger Blue
#3E82FC
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178EE #EED761
analogous
#61BEEE #6178EE #9061EE
triadic
#6178EE #EE6178 #78EE61
tetradic
#6178EE #EE61BE #EED761 #61EE90
square
#6178EE #EE61BE #EED761 #61EE90
split-complementary
#6178EE #EE9061 #BEEE61
monochromatic
#1531C0 #2A49E8 #6178EE #98A7F4 #D0D6FA
Accessibility & contrast
On white
3.87
#6178EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#6178EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178EE
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178EE | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6178ee; /* rgb */ color: rgb(97, 120, 238); /* oklch */ color: oklch(61.5% 0.178 271.9);
Tailwind
colors: {
custom: {
50: '#999ef4',
500: '#6178ee',
950: '#000000',
},
}SCSS
$custom: #6178ee; $custom-light: #999ef4; $custom-dark: #000000;
JSON
{
"hex": "#6178ee",
"rgb": {
"r": 97,
"g": 120,
"b": 238
},
"hsl": {
"h": 230.213,
"s": 80.571,
"l": 65.686
},
"oklch": {
"l": 0.61499,
"c": 0.17815,
"h": 271.9
},
"luminance": 0.22147
}Semantic roles & 50–950 ramp
primary
#6178EE
secondary
#EDE5BE
accent
#BA09DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85