#6178ED#6178ED
#6178ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.177 H 271.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6178ED |
|---|---|
| RGB | rgb(97, 120, 237) |
| HSL | hsl(230, 80%, 65%) |
| HSV | hsv(230, 59%, 93%) |
| CMYK | cmyk(59.1%, 49.4%, 0%, 7.1%) |
| CIE-LAB | lab(54.12, 26.15, -61.77) |
| CIE-LCH | lch(54.12, 67.08, 292.95°) |
| OKLab | oklab(61.43% 0.0058 -0.1767) |
| OKLCH | oklch(61.43% 0.177 271.9) |
| XYZ | xyz(26.9272, 22.0866, 82.9485) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.05
Lightish Blue
#3D7AFD
ΔE00 4.48
Cornflower Blue
#5170D7
ΔE00 4.63
Soft Blue
#6488EA
ΔE00 5.35
Clear Blue
#247AFD
ΔE00 6.18
Dodger Blue
#3E82FC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178ED #EDD661
analogous
#61BEED #6178ED #9061ED
triadic
#6178ED #ED6178 #78ED61
tetradic
#6178ED #ED61BE #EDD661 #61ED90
square
#6178ED #ED61BE #EDD661 #61ED90
split-complementary
#6178ED #ED9061 #BEED61
monochromatic
#1631BE #2A49E7 #6178ED #98A7F3 #CFD6FA
Accessibility & contrast
On white
3.88
#6178ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#6178ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178ED
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178ED | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6178ed; /* rgb */ color: rgb(97, 120, 237); /* oklch */ color: oklch(61.4% 0.177 271.9);
Tailwind
colors: {
custom: {
50: '#999ef3',
500: '#6178ed',
950: '#000000',
},
}SCSS
$custom: #6178ed; $custom-light: #999ef3; $custom-dark: #000000;
JSON
{
"hex": "#6178ed",
"rgb": {
"r": 97,
"g": 120,
"b": 237
},
"hsl": {
"h": 230.143,
"s": 79.545,
"l": 65.49
},
"oklch": {
"l": 0.61432,
"c": 0.1768,
"h": 271.9
},
"luminance": 0.22089
}Semantic roles & 50–950 ramp
primary
#6178ED
secondary
#ECE5BD
accent
#B90ADC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85