#6062DD#6062DD
#6062DD is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.183 H 278.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6062DD |
|---|---|
| RGB | rgb(96, 98, 221) |
| HSL | hsl(239, 65%, 62%) |
| HSV | hsv(239, 57%, 87%) |
| CMYK | cmyk(56.6%, 55.7%, 0%, 13.3%) |
| CIE-LAB | lab(47.55, 34.19, -63.37) |
| CIE-LCH | lch(47.55, 72.01, 298.35°) |
| OKLab | oklab(56.15% 0.0256 -0.1817) |
| OKLCH | oklch(56.15% 0.183 278) |
| XYZ | xyz(22.2385, 16.4411, 70.3942) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.28
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.21
Warm Blue
#4B57DB
ΔE00 4.25
Iris
#6258C4
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6062DD #DDDB60
analogous
#60A1DD #6062DD #9D60DD
triadic
#6062DD #DD6062 #62DD60
tetradic
#6062DD #DD60A1 #DDDB60 #60DD9D
square
#6062DD #DD60A1 #DDDB60 #60DD9D
split-complementary
#6062DD #DD9D60 #A1DD60
monochromatic
#2224A0 #2E30D2 #6062DD #9294E8 #C5C6F3
Accessibility & contrast
On white
4.90
#6062DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#6062DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6062DD
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6062DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6062DD | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#167F96
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6062dd; /* rgb */ color: rgb(96, 98, 221); /* oklch */ color: oklch(56.1% 0.183 278.0);
Tailwind
colors: {
custom: {
50: '#978ee8',
500: '#6062dd',
950: '#000000',
},
}SCSS
$custom: #6062dd; $custom-light: #978ee8; $custom-dark: #000000;
JSON
{
"hex": "#6062dd",
"rgb": {
"r": 96,
"g": 98,
"b": 221
},
"hsl": {
"h": 239.04,
"s": 64.767,
"l": 62.157
},
"oklch": {
"l": 0.56149,
"c": 0.18346,
"h": 278
},
"luminance": 0.16443
}Semantic roles & 50–950 ramp
primary
#6062DD
secondary
#E3E3B5
accent
#CA19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84