#6051E2#6051E2
#6051E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.211 H 281.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6051E2 |
|---|---|
| RGB | rgb(96, 81, 226) |
| HSL | hsl(246, 71%, 60%) |
| HSV | hsv(246, 64%, 89%) |
| CMYK | cmyk(57.5%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(44.03, 45.84, -71.92) |
| CIE-LCH | lch(44.03, 85.29, 302.51°) |
| OKLab | oklab(53.68% 0.0412 -0.2069) |
| OKLCH | oklch(53.68% 0.211 281.3) |
| XYZ | xyz(21.4895, 13.8612, 73.4798) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 3.96
Purpleish Blue
#6140EF
ΔE00 4.07
Iris
#6258C4
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6051E2 #D3E251
analogous
#518AE2 #6051E2 #A951E2
triadic
#6051E2 #E26051 #51E260
tetradic
#6051E2 #E2518A #D3E251 #51E2A9
square
#6051E2 #E2518A #D3E251 #51E2A9
split-complementary
#6051E2 #E2A951 #8AE251
monochromatic
#281A9E #3523D3 #6051E2 #9085EB #C0BAF3
Accessibility & contrast
On white
5.57
#6051E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6051E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6051E2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6051E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6051E2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#0E7692
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6051e2; /* rgb */ color: rgb(96, 81, 226); /* oklch */ color: oklch(53.7% 0.211 281.3);
Tailwind
colors: {
custom: {
50: '#9983ec',
500: '#6051e2',
950: '#000000',
},
}SCSS
$custom: #6051e2; $custom-light: #9983ec; $custom-dark: #000000;
JSON
{
"hex": "#6051e2",
"rgb": {
"r": 96,
"g": 81,
"b": 226
},
"hsl": {
"h": 246.207,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.53681,
"c": 0.21096,
"h": 281.3
},
"luminance": 0.13863
}Semantic roles & 50–950 ramp
primary
#6051E2
secondary
#DDE3AC
accent
#D312BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84