#6062F6#6062F6
#6062F6 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.216 H 276.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6062F6 |
|---|---|
| RGB | rgb(96, 98, 246) |
| HSL | hsl(239, 89%, 67%) |
| HSV | hsv(239, 61%, 96%) |
| CMYK | cmyk(61%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(49.34, 42.18, -74.52) |
| CIE-LCH | lch(49.34, 85.63, 299.51°) |
| OKLab | oklab(58.04% 0.0253 -0.2144) |
| OKLCH | oklch(58.04% 0.216 276.7) |
| XYZ | xyz(25.8207, 17.8739, 89.2602) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 5.14
Warm Blue
#4B57DB
ΔE00 5.97
Royal Blue
#4169E1
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062F6 #F6F460
analogous
#60ADF6 #6062F6 #A960F6
triadic
#6062F6 #F66062 #62F660
tetradic
#6062F6 #F660AD #F6F460 #60F6A9
square
#6062F6 #F660AD #F6F460 #60F6A9
split-complementary
#6062F6 #F6A960 #ADF660
monochromatic
#0C0ED0 #2629F3 #6062F6 #9A9BF9 #D4D4FD
Accessibility & contrast
On white
4.59
#6062F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#6062F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6062F6
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062F6 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6062f6; /* rgb */ color: rgb(96, 98, 246); /* oklch */ color: oklch(58.0% 0.216 276.7);
Tailwind
colors: {
custom: {
50: '#9b8ffa',
500: '#6062f6',
950: '#000000',
},
}SCSS
$custom: #6062f6; $custom-light: #9b8ffa; $custom-dark: #000000;
JSON
{
"hex": "#6062f6",
"rgb": {
"r": 96,
"g": 98,
"b": 246
},
"hsl": {
"h": 239.2,
"s": 89.286,
"l": 67.059
},
"oklch": {
"l": 0.58043,
"c": 0.21593,
"h": 276.7
},
"luminance": 0.17876
}Semantic roles & 50–950 ramp
primary
#6062F6
secondary
#F1F0C1
accent
#E200E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85