#6174F7#6174F7
#6174F7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.4% C 0.195 H 273.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6174F7 |
|---|---|
| RGB | rgb(97, 116, 247) |
| HSL | hsl(232, 90%, 67%) |
| HSV | hsv(232, 61%, 97%) |
| CMYK | cmyk(60.7%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(53.76, 31.86, -67.92) |
| CIE-LCH | lch(53.76, 75.01, 295.13°) |
| OKLab | oklab(61.36% 0.0104 -0.1948) |
| OKLCH | oklch(61.36% 0.195 273) |
| XYZ | xyz(27.9581, 21.7453, 90.7016) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.84
Lightish Blue
#3D7AFD
ΔE00 5.16
Cornflower Blue
#5170D7
ΔE00 5.30
Mediumslateblue
#7B68EE
ΔE00 6.24
Royal Blue
#4169E1
ΔE00 6.40
Soft Blue
#6488EA
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6174F7 #F7E461
analogous
#61BFF7 #6174F7 #9961F7
triadic
#6174F7 #F76174 #74F761
tetradic
#6174F7 #F761BF #F7E461 #61F799
square
#6174F7 #F761BF #F7E461 #61F799
split-complementary
#6174F7 #F79961 #BFF761
monochromatic
#0B24D3 #2741F4 #6174F7 #9BA7FA #D6DAFD
Accessibility & contrast
On white
3.93
#6174F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#6174F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6174F7
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6174F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6174F7 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6174f7; /* rgb */ color: rgb(97, 116, 247); /* oklch */ color: oklch(61.4% 0.195 273.0);
Tailwind
colors: {
custom: {
50: '#9b9bfb',
500: '#6174f7',
950: '#000000',
},
}SCSS
$custom: #6174f7; $custom-light: #9b9bfb; $custom-dark: #000000;
JSON
{
"hex": "#6174f7",
"rgb": {
"r": 97,
"g": 116,
"b": 247
},
"hsl": {
"h": 232.4,
"s": 90.361,
"l": 67.451
},
"oklch": {
"l": 0.61362,
"c": 0.19512,
"h": 273
},
"luminance": 0.21748
}Semantic roles & 50–950 ramp
primary
#6174F7
secondary
#F1EBC2
accent
#C800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85