#6254CE#6254CE
#6254CE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.181 H 283.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6254CE |
|---|---|
| RGB | rgb(98, 84, 206) |
| HSL | hsl(247, 55%, 57%) |
| HSV | hsv(247, 59%, 81%) |
| CMYK | cmyk(52.4%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(43.35, 38.30, -61.59) |
| CIE-LCH | lch(43.35, 72.53, 301.87°) |
| OKLab | oklab(52.75% 0.0422 -0.1765) |
| OKLCH | oklch(52.75% 0.181 283.5) |
| XYZ | xyz(19.3445, 13.3925, 59.9462) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.91
Slate Blue
#6A5ACD
ΔE00 2.16
Light Indigo
#6D5ACF
ΔE00 2.51
Dark Periwinkle
#665FD1
ΔE00 3.41
Warm Blue
#4B57DB
ΔE00 3.99
Bluey Purple
#6241C7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6254CE #C0CE54
analogous
#5483CE #6254CE #9F54CE
triadic
#6254CE #CE6254 #54CE62
tetradic
#6254CE #CE5483 #C0CE54 #54CE9F
square
#6254CE #CE5483 #C0CE54 #54CE9F
split-complementary
#6254CE #CE9F54 #83CE54
monochromatic
#302582 #4233B2 #6254CE #8E84DC #B9B3E9
Accessibility & contrast
On white
5.71
#6254CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6254CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6254CE
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6254CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6254CE | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#357189
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6254ce; /* rgb */ color: rgb(98, 84, 206); /* oklch */ color: oklch(52.7% 0.181 283.5);
Tailwind
colors: {
custom: {
50: '#9785de',
500: '#6254ce',
950: '#000000',
},
}SCSS
$custom: #6254ce; $custom-light: #9785de; $custom-dark: #000000;
JSON
{
"hex": "#6254ce",
"rgb": {
"r": 98,
"g": 84,
"b": 206
},
"hsl": {
"h": 246.885,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.52747,
"c": 0.18145,
"h": 283.5
},
"luminance": 0.13394
}Semantic roles & 50–950 ramp
primary
#6254CE
secondary
#D2D8A6
accent
#DF49CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83