#6262CE#6262CE
#6262CE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.163 H 279.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6262CE |
|---|---|
| RGB | rgb(98, 98, 206) |
| HSL | hsl(240, 52%, 60%) |
| HSV | hsv(240, 52%, 81%) |
| CMYK | cmyk(52.4%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(46.69, 29.82, -56.19) |
| CIE-LCH | lch(46.69, 63.61, 297.96°) |
| OKLab | oklab(55.23% 0.0273 -0.1605) |
| OKLCH | oklch(55.23% 0.163 279.7) |
| XYZ | xyz(20.5418, 15.7870, 60.3453) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.42
Slate Blue
#6A5ACD
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.56
Iris
#6258C4
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.66
Royal Blue
#4169E1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262CE #CECE62
analogous
#6298CE #6262CE #9862CE
triadic
#6262CE #CE6262 #62CE62
tetradic
#6262CE #CE6298 #CECE62 #62CE98
square
#6262CE #CE6298 #CECE62 #62CE98
split-complementary
#6262CE #CE9862 #98CE62
monochromatic
#2B2B8A #3A3AB9 #6262CE #9191DD #BFBFEB
Accessibility & contrast
On white
5.05
#6262CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6262CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262CE
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262CE | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#186BCC
Tritanopia (blue-blind)
#337A8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6262ce; /* rgb */ color: rgb(98, 98, 206); /* oklch */ color: oklch(55.2% 0.163 279.7);
Tailwind
colors: {
custom: {
50: '#968ede',
500: '#6262ce',
950: '#000000',
},
}SCSS
$custom: #6262ce; $custom-light: #968ede; $custom-dark: #000000;
JSON
{
"hex": "#6262ce",
"rgb": {
"r": 98,
"g": 98,
"b": 206
},
"hsl": {
"h": 240,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.55231,
"c": 0.1628,
"h": 279.7
},
"luminance": 0.15788
}Semantic roles & 50–950 ramp
primary
#6262CE
secondary
#DBDBB1
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83