#6062E9#6062E9
#6062E9 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.199 H 277.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6062E9 |
|---|---|
| RGB | rgb(96, 98, 233) |
| HSL | hsl(239, 76%, 65%) |
| HSV | hsv(239, 59%, 91%) |
| CMYK | cmyk(58.8%, 57.9%, 0%, 8.6%) |
| CIE-LAB | lab(48.39, 38.02, -68.79) |
| CIE-LCH | lch(48.39, 78.60, 298.93°) |
| OKLab | oklab(57.04% 0.0256 -0.1976) |
| OKLCH | oklch(57.04% 0.199 277.4) |
| XYZ | xyz(23.8948, 17.1036, 79.1172) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.09
Light Indigo
#6D5ACF
ΔE00 5.10
Royal Blue
#4169E1
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062E9 #E9E760
analogous
#60A7E9 #6062E9 #A360E9
triadic
#6062E9 #E96062 #62E960
tetradic
#6062E9 #E960A7 #E9E760 #60E9A3
square
#6062E9 #E960A7 #E9E760 #60E9A3
split-complementary
#6062E9 #E9A360 #A7E960
monochromatic
#191BB5 #2A2DE2 #6062E9 #9697F0 #CCCCF8
Accessibility & contrast
On white
4.75
#6062E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#6062E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062E9
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062E9 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6062e9; /* rgb */ color: rgb(96, 98, 233); /* oklch */ color: oklch(57.0% 0.199 277.4);
Tailwind
colors: {
custom: {
50: '#998ff1',
500: '#6062e9',
950: '#000000',
},
}SCSS
$custom: #6062e9; $custom-light: #998ff1; $custom-dark: #000000;
JSON
{
"hex": "#6062e9",
"rgb": {
"r": 96,
"g": 98,
"b": 233
},
"hsl": {
"h": 239.124,
"s": 75.691,
"l": 64.51
},
"oklch": {
"l": 0.57041,
"c": 0.19925,
"h": 277.4
},
"luminance": 0.17105
}Semantic roles & 50–950 ramp
primary
#6062E9
secondary
#EAE9BB
accent
#D50ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85