#6178DD#6178DD
#6178DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.155 H 271.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6178DD |
|---|---|
| RGB | rgb(97, 120, 221) |
| HSL | hsl(229, 65%, 62%) |
| HSV | hsv(229, 56%, 87%) |
| CMYK | cmyk(56.1%, 45.7%, 0%, 13.3%) |
| CIE-LAB | lab(53.16, 20.94, -54.34) |
| CIE-LCH | lch(53.16, 58.23, 291.07°) |
| OKLab | oklab(60.4% 0.0039 -0.1549) |
| OKLCH | oklch(60.4% 0.155 271.4) |
| XYZ | xyz(24.6931, 21.1930, 71.1820) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.50
Cornflower
#6A79F7
ΔE00 3.85
Lightish Blue
#3D7AFD
ΔE00 5.22
Soft Blue
#6488EA
ΔE00 5.58
Royal Blue
#4169E1
ΔE00 5.98
Clear Blue
#247AFD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178DD #DDC661
analogous
#61B6DD #6178DD #8861DD
triadic
#6178DD #DD6178 #78DD61
tetradic
#6178DD #DD61B6 #DDC661 #61DD88
square
#6178DD #DD61B6 #DDC661 #61DD88
split-complementary
#6178DD #DD8861 #B6DD61
monochromatic
#233AA1 #2F4DD2 #6178DD #93A3E8 #C6CEF3
Accessibility & contrast
On white
4.01
#6178DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#6178DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178DD
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178DD | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#138EA0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6178dd; /* rgb */ color: rgb(97, 120, 221); /* oklch */ color: oklch(60.4% 0.155 271.4);
Tailwind
colors: {
custom: {
50: '#979ee8',
500: '#6178dd',
950: '#000000',
},
}SCSS
$custom: #6178dd; $custom-light: #979ee8; $custom-dark: #000000;
JSON
{
"hex": "#6178dd",
"rgb": {
"r": 97,
"g": 120,
"b": 221
},
"hsl": {
"h": 228.871,
"s": 64.583,
"l": 62.353
},
"oklch": {
"l": 0.60395,
"c": 0.15492,
"h": 271.4
},
"luminance": 0.21195
}Semantic roles & 50–950 ramp
primary
#6178DD
secondary
#E4DBB6
accent
#AB19CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84