#6062CB#6062CB
#6062CB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.159 H 279.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6062CB |
|---|---|
| RGB | rgb(96, 98, 203) |
| HSL | hsl(239, 51%, 59%) |
| HSV | hsv(239, 53%, 80%) |
| CMYK | cmyk(52.7%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(46.36, 28.46, -55.02) |
| CIE-LCH | lch(46.36, 61.95, 297.35°) |
| OKLab | oklab(54.88% 0.0248 -0.1571) |
| OKLCH | oklch(54.88% 0.159 279) |
| XYZ | xyz(19.9677, 15.5327, 58.4343) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.87
Slate Blue
#6A5ACD
ΔE00 3.50
Iris
#6258C4
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.90
Warm Blue
#4B57DB
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062CB #CBC960
analogous
#6097CB #6062CB #9360CB
triadic
#6062CB #CB6062 #62CB60
tetradic
#6062CB #CB6097 #CBC960 #60CB93
square
#6062CB #CB6097 #CBC960 #60CB93
split-complementary
#6062CB #CB9360 #97CB60
monochromatic
#2C2D85 #3B3DB3 #6062CB #8E90DA #BCBDE9
Accessibility & contrast
On white
5.11
#6062CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#6062CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062CB
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062CB | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#31798D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6062cb; /* rgb */ color: rgb(96, 98, 203); /* oklch */ color: oklch(54.9% 0.159 279.0);
Tailwind
colors: {
custom: {
50: '#958edb',
500: '#6062cb',
950: '#000000',
},
}SCSS
$custom: #6062cb; $custom-light: #958edb; $custom-dark: #000000;
JSON
{
"hex": "#6062cb",
"rgb": {
"r": 96,
"g": 98,
"b": 203
},
"hsl": {
"h": 238.879,
"s": 50.711,
"l": 58.627
},
"oklch": {
"l": 0.54878,
"c": 0.15904,
"h": 279
},
"luminance": 0.15534
}Semantic roles & 50–950 ramp
primary
#6062CB
secondary
#D9D8AE
accent
#D84EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83