#6062F4#6062F4
#6062F4 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.9% C 0.213 H 276.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6062F4 |
|---|---|
| RGB | rgb(96, 98, 244) |
| HSL | hsl(239, 87%, 67%) |
| HSV | hsv(239, 61%, 96%) |
| CMYK | cmyk(60.7%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(49.19, 41.54, -73.65) |
| CIE-LCH | lch(49.19, 84.55, 299.42°) |
| OKLab | oklab(57.89% 0.0254 -0.2119) |
| OKLCH | oklch(57.89% 0.213 276.8) |
| XYZ | xyz(25.5154, 17.7518, 87.6523) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 6.13
Royal Blue
#4169E1
ΔE00 6.15
Slate Blue
#6A5ACD
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062F4 #F4F260
analogous
#60ACF4 #6062F4 #A860F4
triadic
#6062F4 #F46062 #62F460
tetradic
#6062F4 #F460AC #F4F260 #60F4A8
square
#6062F4 #F460AC #F4F260 #60F4A8
split-complementary
#6062F4 #F4A860 #ACF460
monochromatic
#0E11CC #2729F0 #6062F4 #999BF8 #D2D3FC
Accessibility & contrast
On white
4.61
#6062F4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#6062F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6062F4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062F4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062F4 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6062f4; /* rgb */ color: rgb(96, 98, 244); /* oklch */ color: oklch(57.9% 0.213 276.8);
Tailwind
colors: {
custom: {
50: '#9b8ff9',
500: '#6062f4',
950: '#000000',
},
}SCSS
$custom: #6062f4; $custom-light: #9b8ff9; $custom-dark: #000000;
JSON
{
"hex": "#6062f4",
"rgb": {
"r": 96,
"g": 98,
"b": 244
},
"hsl": {
"h": 239.189,
"s": 87.059,
"l": 66.667
},
"oklch": {
"l": 0.57886,
"c": 0.2134,
"h": 276.8
},
"luminance": 0.17754
}Semantic roles & 50–950 ramp
primary
#6062F4
secondary
#F0EFC0
accent
#E102E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85