#6261D5#6261D5
#6261D5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.174 H 279.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6261D5 |
|---|---|
| RGB | rgb(98, 97, 213) |
| HSL | hsl(241, 58%, 61%) |
| HSV | hsv(241, 54%, 84%) |
| CMYK | cmyk(54%, 54.5%, 0%, 16.5%) |
| CIE-LAB | lab(46.91, 32.64, -59.85) |
| CIE-LCH | lch(46.91, 68.17, 298.61°) |
| OKLab | oklab(55.54% 0.0287 -0.1713) |
| OKLCH | oklch(55.54% 0.174 279.5) |
| XYZ | xyz(21.3182, 15.9488, 64.8930) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.20
Slate Blue
#6A5ACD
ΔE00 3.11
Light Indigo
#6D5ACF
ΔE00 3.36
Iris
#6258C4
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 4.21
Mediumslateblue
#7B68EE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6261D5 #D4D561
analogous
#619AD5 #6261D5 #9C61D5
triadic
#6261D5 #D56261 #61D562
tetradic
#6261D5 #D5619A #D4D561 #61D59C
square
#6261D5 #D5619A #D4D561 #61D59C
split-complementary
#6261D5 #D59C61 #9AD561
monochromatic
#282794 #3534C5 #6261D5 #9291E2 #C2C2EF
Accessibility & contrast
On white
5.01
#6261D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#6261D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6261D5
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6261D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6261D5 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#2C7C92
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6261d5; /* rgb */ color: rgb(98, 97, 213); /* oklch */ color: oklch(55.5% 0.174 279.5);
Tailwind
colors: {
custom: {
50: '#978ee3',
500: '#6261d5',
950: '#000000',
},
}SCSS
$custom: #6261d5; $custom-light: #978ee3; $custom-dark: #000000;
JSON
{
"hex": "#6261d5",
"rgb": {
"r": 98,
"g": 97,
"b": 213
},
"hsl": {
"h": 240.517,
"s": 58,
"l": 60.784
},
"oklch": {
"l": 0.55537,
"c": 0.17365,
"h": 279.5
},
"luminance": 0.1595
}Semantic roles & 50–950 ramp
primary
#6261D5
secondary
#DEDFB3
accent
#C620C4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84