#6262CA#6262CA
#6262CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.157 H 279.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6262CA |
|---|---|
| RGB | rgb(98, 98, 202) |
| HSL | hsl(240, 50%, 59%) |
| HSV | hsv(240, 51%, 79%) |
| CMYK | cmyk(51.5%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(46.44, 28.57, -54.30) |
| CIE-LCH | lch(46.44, 61.36, 297.75°) |
| OKLab | oklab(54.96% 0.027 -0.1549) |
| OKLCH | oklch(54.96% 0.157 279.9) |
| XYZ | xyz(20.0621, 15.5951, 57.8187) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.71
Slate Blue
#6A5ACD
ΔE00 3.27
Iris
#6258C4
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.65
Warm Blue
#4B57DB
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262CA #CACA62
analogous
#6296CA #6262CA #9662CA
triadic
#6262CA #CA6262 #62CA62
tetradic
#6262CA #CA6296 #CACA62 #62CA96
square
#6262CA #CA6296 #CACA62 #62CA96
split-complementary
#6262CA #CA9662 #96CA62
monochromatic
#2D2D85 #3C3CB3 #6262CA #9090D9 #BEBEE9
Accessibility & contrast
On white
5.10
#6262CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#6262CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262CA
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262CA | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#37798D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6262ca; /* rgb */ color: rgb(98, 98, 202); /* oklch */ color: oklch(55.0% 0.157 279.9);
Tailwind
colors: {
custom: {
50: '#968edb',
500: '#6262ca',
950: '#000000',
},
}SCSS
$custom: #6262ca; $custom-light: #968edb; $custom-dark: #000000;
JSON
{
"hex": "#6262ca",
"rgb": {
"r": 98,
"g": 98,
"b": 202
},
"hsl": {
"h": 240,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.54958,
"c": 0.15728,
"h": 279.9
},
"luminance": 0.15596
}Semantic roles & 50–950 ramp
primary
#6262CA
secondary
#D8D8AF
accent
#D94FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83