#6262CB#6262CB
#6262CB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.159 H 279.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6262CB |
|---|---|
| RGB | rgb(98, 98, 203) |
| HSL | hsl(240, 50%, 59%) |
| HSV | hsv(240, 52%, 80%) |
| CMYK | cmyk(51.7%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(46.50, 28.88, -54.78) |
| CIE-LCH | lch(46.50, 61.93, 297.80°) |
| OKLab | oklab(55.03% 0.0271 -0.1563) |
| OKLCH | oklch(55.03% 0.159 279.8) |
| XYZ | xyz(20.1808, 15.6426, 58.4443) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.62
Slate Blue
#6A5ACD
ΔE00 3.24
Iris
#6258C4
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.62
Warm Blue
#4B57DB
ΔE00 4.83
Royal Blue
#4169E1
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262CB #CBCB62
analogous
#6297CB #6262CB #9762CB
triadic
#6262CB #CB6262 #62CB62
tetradic
#6262CB #CB6297 #CBCB62 #62CB97
square
#6262CB #CB6297 #CBCB62 #62CB97
split-complementary
#6262CB #CB9762 #97CB62
monochromatic
#2C2C86 #3C3CB4 #6262CB #9090DA #BEBEE9
Accessibility & contrast
On white
5.09
#6262CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#6262CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262CB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262CB | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#36798D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6262cb; /* rgb */ color: rgb(98, 98, 203); /* oklch */ color: oklch(55.0% 0.159 279.8);
Tailwind
colors: {
custom: {
50: '#968edb',
500: '#6262cb',
950: '#000000',
},
}SCSS
$custom: #6262cb; $custom-light: #968edb; $custom-dark: #000000;
JSON
{
"hex": "#6262cb",
"rgb": {
"r": 98,
"g": 98,
"b": 203
},
"hsl": {
"h": 240,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.55025,
"c": 0.15866,
"h": 279.8
},
"luminance": 0.15644
}Semantic roles & 50–950 ramp
primary
#6262CB
secondary
#D9D9B0
accent
#DA4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83