#6262CD#6262CD
#6262CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.161 H 279.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6262CD |
|---|---|
| RGB | rgb(98, 98, 205) |
| HSL | hsl(240, 52%, 59%) |
| HSV | hsv(240, 52%, 80%) |
| CMYK | cmyk(52.2%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.63, 29.51, -55.72) |
| CIE-LCH | lch(46.63, 63.05, 297.91°) |
| OKLab | oklab(55.16% 0.0272 -0.1591) |
| OKLCH | oklch(55.16% 0.161 279.7) |
| XYZ | xyz(20.4207, 15.7386, 59.7076) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.47
Slate Blue
#6A5ACD
ΔE00 3.22
Iris
#6258C4
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.71
Royal Blue
#4169E1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262CD #CDCD62
analogous
#6298CD #6262CD #9862CD
triadic
#6262CD #CD6262 #62CD62
tetradic
#6262CD #CD6298 #CDCD62 #62CD98
square
#6262CD #CD6298 #CDCD62 #62CD98
split-complementary
#6262CD #CD9862 #98CD62
monochromatic
#2C2C89 #3A3AB7 #6262CD #9090DC #BFBFEB
Accessibility & contrast
On white
5.06
#6262CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6262CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262CD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262CD | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#1B6ACB
Tritanopia (blue-blind)
#347A8E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6262cd; /* rgb */ color: rgb(98, 98, 205); /* oklch */ color: oklch(55.2% 0.161 279.7);
Tailwind
colors: {
custom: {
50: '#968edd',
500: '#6262cd',
950: '#000000',
},
}SCSS
$custom: #6262cd; $custom-light: #968edd; $custom-dark: #000000;
JSON
{
"hex": "#6262cd",
"rgb": {
"r": 98,
"g": 98,
"b": 205
},
"hsl": {
"h": 240,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.55162,
"c": 0.16141,
"h": 279.7
},
"luminance": 0.1574
}Semantic roles & 50–950 ramp
primary
#6262CD
secondary
#DADAB1
accent
#DB4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83