#6251CB#6251CB
#6251CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.181 H 284.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6251CB |
|---|---|
| RGB | rgb(98, 81, 203) |
| HSL | hsl(248, 54%, 56%) |
| HSV | hsv(248, 60%, 80%) |
| CMYK | cmyk(51.7%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.45, 39.16, -61.32) |
| CIE-LCH | lch(42.45, 72.76, 302.56°) |
| OKLab | oklab(52.02% 0.0454 -0.1757) |
| OKLCH | oklch(52.02% 0.181 284.5) |
| XYZ | xyz(18.7557, 12.7923, 57.9692) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.36
Slate Blue
#6A5ACD
ΔE00 2.89
Light Indigo
#6D5ACF
ΔE00 3.18
Bluey Purple
#6241C7
ΔE00 4.35
Dark Periwinkle
#665FD1
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6251CB #BACB51
analogous
#517DCB #6251CB #9F51CB
triadic
#6251CB #CB6251 #51CB62
tetradic
#6251CB #CB517D #BACB51 #51CB9F
square
#6251CB #CB517D #BACB51 #51CB9F
split-complementary
#6251CB #CB9F51 #7DCB51
monochromatic
#31257C #4433AC #6251CB #8D80D9 #B7AFE7
Accessibility & contrast
On white
5.90
#6251CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6251CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6251CB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6251CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6251CB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#396E86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6251cb; /* rgb */ color: rgb(98, 81, 203); /* oklch */ color: oklch(52.0% 0.181 284.5);
Tailwind
colors: {
custom: {
50: '#9782dc',
500: '#6251cb',
950: '#000000',
},
}SCSS
$custom: #6251cb; $custom-light: #9782dc; $custom-dark: #000000;
JSON
{
"hex": "#6251cb",
"rgb": {
"r": 98,
"g": 81,
"b": 203
},
"hsl": {
"h": 248.361,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.52018,
"c": 0.18147,
"h": 284.5
},
"luminance": 0.12793
}Semantic roles & 50–950 ramp
primary
#6251CB
secondary
#CED5A3
accent
#DD4AC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83