#6062E8#6062E8
#6062E8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.198 H 277.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6062E8 |
|---|---|
| RGB | rgb(96, 98, 232) |
| HSL | hsl(239, 75%, 64%) |
| HSV | hsv(239, 59%, 91%) |
| CMYK | cmyk(58.6%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(48.32, 37.70, -68.34) |
| CIE-LCH | lch(48.32, 78.05, 298.89°) |
| OKLab | oklab(56.97% 0.0256 -0.1963) |
| OKLCH | oklch(56.97% 0.198 277.4) |
| XYZ | xyz(23.7524, 17.0466, 78.3670) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 4.78
Mediumslateblue
#7B68EE
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.01
Royal Blue
#4169E1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062E8 #E8E660
analogous
#60A6E8 #6062E8 #A260E8
triadic
#6062E8 #E86062 #62E860
tetradic
#6062E8 #E860A6 #E8E660 #60E8A2
square
#6062E8 #E860A6 #E8E660 #60E8A2
split-complementary
#6062E8 #E8A260 #A6E860
monochromatic
#1A1CB4 #2B2DE0 #6062E8 #9597F0 #CBCCF7
Accessibility & contrast
On white
4.76
#6062E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#6062E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062E8
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062E8 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6062e8; /* rgb */ color: rgb(96, 98, 232); /* oklch */ color: oklch(57.0% 0.198 277.4);
Tailwind
colors: {
custom: {
50: '#998ff0',
500: '#6062e8',
950: '#000000',
},
}SCSS
$custom: #6062e8; $custom-light: #998ff0; $custom-dark: #000000;
JSON
{
"hex": "#6062e8",
"rgb": {
"r": 96,
"g": 98,
"b": 232
},
"hsl": {
"h": 239.118,
"s": 74.725,
"l": 64.314
},
"oklch": {
"l": 0.56965,
"c": 0.19794,
"h": 277.4
},
"luminance": 0.17048
}Semantic roles & 50–950 ramp
primary
#6062E8
secondary
#E9E9BA
accent
#D40FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85