#6062E7#6062E7
#6062E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.197 H 277.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6062E7 |
|---|---|
| RGB | rgb(96, 98, 231) |
| HSL | hsl(239, 74%, 64%) |
| HSV | hsv(239, 58%, 91%) |
| CMYK | cmyk(58.4%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(48.25, 37.38, -67.89) |
| CIE-LCH | lch(48.25, 77.50, 298.84°) |
| OKLab | oklab(56.89% 0.0256 -0.195) |
| OKLCH | oklch(56.89% 0.197 277.5) |
| XYZ | xyz(23.6107, 16.9900, 77.6210) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 4.72
Mediumslateblue
#7B68EE
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 4.93
Royal Blue
#4169E1
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062E7 #E7E560
analogous
#60A6E7 #6062E7 #A260E7
triadic
#6062E7 #E76062 #62E760
tetradic
#6062E7 #E760A6 #E7E560 #60E7A2
square
#6062E7 #E760A6 #E7E560 #60E7A2
split-complementary
#6062E7 #E7A260 #A6E760
monochromatic
#1B1DB2 #2B2DDF #6062E7 #9597EF #CACBF7
Accessibility & contrast
On white
4.77
#6062E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#6062E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062E7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062E7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6062e7; /* rgb */ color: rgb(96, 98, 231); /* oklch */ color: oklch(56.9% 0.197 277.5);
Tailwind
colors: {
custom: {
50: '#998fef',
500: '#6062e7',
950: '#000000',
},
}SCSS
$custom: #6062e7; $custom-light: #998fef; $custom-dark: #000000;
JSON
{
"hex": "#6062e7",
"rgb": {
"r": 96,
"g": 98,
"b": 231
},
"hsl": {
"h": 239.111,
"s": 73.77,
"l": 64.118
},
"oklch": {
"l": 0.5689,
"c": 0.19665,
"h": 277.5
},
"luminance": 0.16992
}Semantic roles & 50–950 ramp
primary
#6062E7
secondary
#E9E8BA
accent
#D310D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85