#6174E6#6174E6
#6174E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.172 H 273.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6174E6 |
|---|---|
| RGB | rgb(97, 116, 230) |
| HSL | hsl(231, 73%, 64%) |
| HSV | hsv(231, 58%, 90%) |
| CMYK | cmyk(57.8%, 49.6%, 0%, 9.8%) |
| CIE-LAB | lab(52.67, 26.30, -60.19) |
| CIE-LCH | lch(52.67, 65.68, 293.61°) |
| OKLab | oklab(60.2% 0.0091 -0.1721) |
| OKLCH | oklch(60.2% 0.172 273) |
| XYZ | xyz(25.4534, 20.7434, 77.5101) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.06
Cornflower Blue
#5170D7
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 5.37
Lightish Blue
#3D7AFD
ΔE00 5.45
Mediumslateblue
#7B68EE
ΔE00 6.60
Soft Blue
#6488EA
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6174E6 #E6D361
analogous
#61B6E6 #6174E6 #9161E6
triadic
#6174E6 #E66174 #74E661
tetradic
#6174E6 #E661B6 #E6D361 #61E691
square
#6174E6 #E661B6 #E6D361 #61E691
split-complementary
#6174E6 #E69161 #B6E661
monochromatic
#1C31B1 #2C46DE #6174E6 #96A2EE #CBD1F7
Accessibility & contrast
On white
4.08
#6174E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#6174E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6174E6
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6174E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6174E6 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6174e6; /* rgb */ color: rgb(97, 116, 230); /* oklch */ color: oklch(60.2% 0.172 273.0);
Tailwind
colors: {
custom: {
50: '#989bef',
500: '#6174e6',
950: '#000000',
},
}SCSS
$custom: #6174e6; $custom-light: #989bef; $custom-dark: #000000;
JSON
{
"hex": "#6174e6",
"rgb": {
"r": 97,
"g": 116,
"b": 230
},
"hsl": {
"h": 231.429,
"s": 72.678,
"l": 64.118
},
"oklch": {
"l": 0.60195,
"c": 0.17234,
"h": 273
},
"luminance": 0.20745
}Semantic roles & 50–950 ramp
primary
#6174E6
secondary
#E9E2BA
accent
#B911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84