#6262CF#6262CF
#6262CF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.164 H 279.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6262CF |
|---|---|
| RGB | rgb(98, 98, 207) |
| HSL | hsl(240, 53%, 60%) |
| HSV | hsv(240, 53%, 81%) |
| CMYK | cmyk(52.7%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.76, 30.14, -56.66) |
| CIE-LCH | lch(46.76, 64.18, 298.01°) |
| OKLab | oklab(55.3% 0.0274 -0.1619) |
| OKLCH | oklch(55.3% 0.164 279.6) |
| XYZ | xyz(20.6637, 15.8358, 60.9872) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.38
Slate Blue
#6A5ACD
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.55
Iris
#6258C4
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 4.61
Royal Blue
#4169E1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262CF #CFCF62
analogous
#6299CF #6262CF #9962CF
triadic
#6262CF #CF6262 #62CF62
tetradic
#6262CF #CF6299 #CFCF62 #62CF99
square
#6262CF #CF6299 #CFCF62 #62CF99
split-complementary
#6262CF #CF9962 #99CF62
monochromatic
#2B2B8C #3939BB #6262CF #9191DD #C0C0EC
Accessibility & contrast
On white
5.04
#6262CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#6262CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262CF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262CF | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#327A8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6262cf; /* rgb */ color: rgb(98, 98, 207); /* oklch */ color: oklch(55.3% 0.164 279.6);
Tailwind
colors: {
custom: {
50: '#968ede',
500: '#6262cf',
950: '#000000',
},
}SCSS
$custom: #6262cf; $custom-light: #968ede; $custom-dark: #000000;
JSON
{
"hex": "#6262cf",
"rgb": {
"r": 98,
"g": 98,
"b": 207
},
"hsl": {
"h": 240,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.55299,
"c": 0.16416,
"h": 279.6
},
"luminance": 0.15837
}Semantic roles & 50–950 ramp
primary
#6262CF
secondary
#DBDBB1
accent
#DD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83