#6261E2#6261E2
#6261E2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.191 H 278.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6261E2 |
|---|---|
| RGB | rgb(98, 97, 226) |
| HSL | hsl(240, 69%, 63%) |
| HSV | hsv(240, 57%, 89%) |
| CMYK | cmyk(56.6%, 57.1%, 0%, 11.4%) |
| CIE-LAB | lab(47.80, 36.75, -65.79) |
| CIE-LCH | lch(47.80, 75.36, 299.18°) |
| OKLab | oklab(56.48% 0.0289 -0.1887) |
| OKLCH | oklch(56.48% 0.191 278.7) |
| XYZ | xyz(23.0348, 16.6355, 73.9339) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.43
Mediumslateblue
#7B68EE
ΔE00 5.00
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6261E2 #E1E261
analogous
#61A0E2 #6261E2 #A261E2
triadic
#6261E2 #E26261 #61E262
tetradic
#6261E2 #E261A0 #E1E261 #61E2A2
square
#6261E2 #E261A0 #E1E261 #61E2A2
split-complementary
#6261E2 #E2A261 #A0E261
monochromatic
#201FA9 #2F2DD9 #6261E2 #9595EB #C9C8F5
Accessibility & contrast
On white
4.85
#6261E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#6261E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6261E2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6261E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6261E2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#167F98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6261e2; /* rgb */ color: rgb(98, 97, 226); /* oklch */ color: oklch(56.5% 0.191 278.7);
Tailwind
colors: {
custom: {
50: '#998eec',
500: '#6261e2',
950: '#000000',
},
}SCSS
$custom: #6261e2; $custom-light: #998eec; $custom-dark: #000000;
JSON
{
"hex": "#6261e2",
"rgb": {
"r": 98,
"g": 97,
"b": 226
},
"hsl": {
"h": 240.465,
"s": 68.984,
"l": 63.333
},
"oklch": {
"l": 0.56481,
"c": 0.19095,
"h": 278.7
},
"luminance": 0.16637
}Semantic roles & 50–950 ramp
primary
#6261E2
secondary
#E6E6B8
accent
#D115CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84