#6251CA#6251CA
#6251CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.180 H 284.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6251CA |
|---|---|
| RGB | rgb(98, 81, 202) |
| HSL | hsl(248, 53%, 55%) |
| HSV | hsv(248, 60%, 79%) |
| CMYK | cmyk(51.5%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.38, 38.86, -60.86) |
| CIE-LCH | lch(42.38, 72.21, 302.56°) |
| OKLab | oklab(51.94% 0.0455 -0.1743) |
| OKLCH | oklch(51.94% 0.18 284.6) |
| XYZ | xyz(18.6369, 12.7448, 57.3436) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.21
Bluey Purple
#6241C7
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.39
Warm Blue
#4B57DB
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251CA #B9CA51
analogous
#517CCA #6251CA #9F51CA
triadic
#6251CA #CA6251 #51CA62
tetradic
#6251CA #CA517C #B9CA51 #51CA9F
square
#6251CA #CA517C #B9CA51 #51CA9F
split-complementary
#6251CA #CA9F51 #7CCA51
monochromatic
#32257B #4434AA #6251CA #8C80D8 #B7AFE7
Accessibility & contrast
On white
5.92
#6251CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6251CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251CA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251CA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#396D86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6251ca; /* rgb */ color: rgb(98, 81, 202); /* oklch */ color: oklch(51.9% 0.180 284.6);
Tailwind
colors: {
custom: {
50: '#9782db',
500: '#6251ca',
950: '#000000',
},
}SCSS
$custom: #6251ca; $custom-light: #9782db; $custom-dark: #000000;
JSON
{
"hex": "#6251ca",
"rgb": {
"r": 98,
"g": 81,
"b": 202
},
"hsl": {
"h": 248.43,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.51942,
"c": 0.18017,
"h": 284.6
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#6251CA
secondary
#CED5A2
accent
#DD4BC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83