#6062CA#6062CA
#6062CA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.158 H 279.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6062CA |
|---|---|
| RGB | rgb(96, 98, 202) |
| HSL | hsl(239, 50%, 58%) |
| HSV | hsv(239, 52%, 79%) |
| CMYK | cmyk(52.5%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(46.29, 28.15, -54.55) |
| CIE-LCH | lch(46.29, 61.38, 297.29°) |
| OKLab | oklab(54.81% 0.0247 -0.1557) |
| OKLCH | oklch(54.81% 0.158 279) |
| XYZ | xyz(19.8489, 15.4852, 57.8087) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.95
Iris
#6258C4
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.70
Royal Blue
#4169E1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062CA #CAC860
analogous
#6097CA #6062CA #9360CA
triadic
#6062CA #CA6062 #62CA60
tetradic
#6062CA #CA6097 #CAC860 #60CA93
square
#6062CA #CA6097 #CAC860 #60CA93
split-complementary
#6062CA #CA9360 #97CA60
monochromatic
#2C2E84 #3B3DB2 #6062CA #8E8FD9 #BCBDE9
Accessibility & contrast
On white
5.13
#6062CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6062CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062CA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062CA | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#32798D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6062ca; /* rgb */ color: rgb(96, 98, 202); /* oklch */ color: oklch(54.8% 0.158 279.0);
Tailwind
colors: {
custom: {
50: '#958edb',
500: '#6062ca',
950: '#000000',
},
}SCSS
$custom: #6062ca; $custom-light: #958edb; $custom-dark: #000000;
JSON
{
"hex": "#6062ca",
"rgb": {
"r": 96,
"g": 98,
"b": 202
},
"hsl": {
"h": 238.868,
"s": 50,
"l": 58.431
},
"oklch": {
"l": 0.5481,
"c": 0.15766,
"h": 279
},
"luminance": 0.15486
}Semantic roles & 50–950 ramp
primary
#6062CA
secondary
#D8D7AE
accent
#D74EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83