#6474F2#6474F2
#6474F2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.188 H 274.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6474F2 |
|---|---|
| RGB | rgb(100, 116, 242) |
| HSL | hsl(233, 85%, 67%) |
| HSV | hsv(233, 59%, 95%) |
| CMYK | cmyk(58.7%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(53.61, 30.75, -65.36) |
| CIE-LCH | lch(53.61, 72.24, 295.19°) |
| OKLab | oklab(61.2% 0.0132 -0.1873) |
| OKLCH | oklch(61.2% 0.188 274) |
| XYZ | xyz(27.5227, 21.6088, 86.7077) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.84
Cornflower Blue
#5170D7
ΔE00 5.08
Lightish Blue
#3D7AFD
ΔE00 5.58
Mediumslateblue
#7B68EE
ΔE00 5.89
Royal Blue
#4169E1
ΔE00 6.36
Soft Blue
#6488EA
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6474F2 #F2E264
analogous
#64BBF2 #6474F2 #9B64F2
triadic
#6474F2 #F26474 #74F264
tetradic
#6474F2 #F264BB #F2E264 #64F29B
square
#6474F2 #F264BB #F2E264 #64F29B
split-complementary
#6474F2 #F29B64 #BBF264
monochromatic
#1126CB #2C41ED #6474F2 #9CA7F7 #D5D9FB
Accessibility & contrast
On white
3.95
#6474F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#6474F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6474F2
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6474F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6474F2 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6474f2; /* rgb */ color: rgb(100, 116, 242); /* oklch */ color: oklch(61.2% 0.188 274.0);
Tailwind
colors: {
custom: {
50: '#9c9bf7',
500: '#6474f2',
950: '#000000',
},
}SCSS
$custom: #6474f2; $custom-light: #9c9bf7; $custom-dark: #000000;
JSON
{
"hex": "#6474f2",
"rgb": {
"r": 100,
"g": 116,
"b": 242
},
"hsl": {
"h": 233.239,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.61196,
"c": 0.18773,
"h": 274
},
"luminance": 0.21611
}Semantic roles & 50–950 ramp
primary
#6474F2
secondary
#EFEAC2
accent
#C805E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85