#6062EF#6062EF
#6062EF is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.5% C 0.207 H 277.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6062EF |
|---|---|
| RGB | rgb(96, 98, 239) |
| HSL | hsl(239, 82%, 66%) |
| HSV | hsv(239, 60%, 94%) |
| CMYK | cmyk(59.8%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(48.83, 39.94, -71.45) |
| CIE-LCH | lch(48.83, 81.86, 299.21°) |
| OKLab | oklab(57.5% 0.0255 -0.2054) |
| OKLCH | oklch(57.5% 0.207 277.1) |
| XYZ | xyz(24.7665, 17.4523, 83.7081) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.30
Mediumslateblue
#7B68EE
ΔE00 4.56
Warm Blue
#4B57DB
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.69
Royal Blue
#4169E1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062EF #EFED60
analogous
#60A9EF #6062EF #A560EF
triadic
#6062EF #EF6062 #62EF60
tetradic
#6062EF #EF60A9 #EFED60 #60EFA5
square
#6062EF #EF60A9 #EFED60 #60EFA5
split-complementary
#6062EF #EFA560 #A9EF60
monochromatic
#1316C1 #282BE9 #6062EF #9899F5 #CFD0FA
Accessibility & contrast
On white
4.68
#6062EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#6062EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062EF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062EF | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6062ef; /* rgb */ color: rgb(96, 98, 239); /* oklch */ color: oklch(57.5% 0.207 277.1);
Tailwind
colors: {
custom: {
50: '#9a8ff5',
500: '#6062ef',
950: '#000000',
},
}SCSS
$custom: #6062ef; $custom-light: #9a8ff5; $custom-dark: #000000;
JSON
{
"hex": "#6062ef",
"rgb": {
"r": 96,
"g": 98,
"b": 239
},
"hsl": {
"h": 239.161,
"s": 81.714,
"l": 65.686
},
"oklch": {
"l": 0.57499,
"c": 0.20701,
"h": 277.1
},
"luminance": 0.17454
}Semantic roles & 50–950 ramp
primary
#6062EF
secondary
#EDEDBE
accent
#DB07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85