#6251E4#6251E4
#6251E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.213 H 281.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6251E4 |
|---|---|
| RGB | rgb(98, 81, 228) |
| HSL | hsl(247, 73%, 61%) |
| HSV | hsv(247, 64%, 89%) |
| CMYK | cmyk(57%, 64.5%, 0%, 10.6%) |
| CIE-LAB | lab(44.35, 46.77, -72.53) |
| CIE-LCH | lch(44.35, 86.30, 302.81°) |
| OKLab | oklab(54% 0.0435 -0.2086) |
| OKLCH | oklch(54% 0.213 281.8) |
| XYZ | xyz(21.9787, 14.0815, 74.9436) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.98
Purpleish Blue
#6140EF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.65
Iris
#6258C4
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251E4 #D3E451
analogous
#5189E4 #6251E4 #AB51E4
triadic
#6251E4 #E46251 #51E462
tetradic
#6251E4 #E45189 #D3E451 #51E4AB
square
#6251E4 #E45189 #D3E451 #51E4AB
split-complementary
#6251E4 #E4AB51 #89E451
monochromatic
#2919A2 #3621D7 #6251E4 #9286EC #C2BBF4
Accessibility & contrast
On white
5.50
#6251E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#6251E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251E4
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251E4 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#177693
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6251e4; /* rgb */ color: rgb(98, 81, 228); /* oklch */ color: oklch(54.0% 0.213 281.8);
Tailwind
colors: {
custom: {
50: '#9b83ee',
500: '#6251e4',
950: '#000000',
},
}SCSS
$custom: #6251e4; $custom-light: #9b83ee; $custom-dark: #000000;
JSON
{
"hex": "#6251e4",
"rgb": {
"r": 98,
"g": 81,
"b": 228
},
"hsl": {
"h": 246.939,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.53999,
"c": 0.21313,
"h": 281.8
},
"luminance": 0.14083
}Semantic roles & 50–950 ramp
primary
#6251E4
secondary
#DEE4AC
accent
#D510BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84