#6254CF#6254CF
#6254CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.8% C 0.183 H 283.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #6254CF |
|---|---|
| RGB | rgb(98, 84, 207) |
| HSL | hsl(247, 56%, 57%) |
| HSV | hsv(247, 59%, 81%) |
| CMYK | cmyk(52.7%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.42, 38.60, -62.05) |
| CIE-LCH | lch(43.42, 73.08, 301.89°) |
| OKLab | oklab(52.82% 0.0422 -0.1778) |
| OKLCH | oklch(52.82% 0.183 283.3) |
| XYZ | xyz(19.4664, 13.4412, 60.5881) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.02
Slate Blue
#6A5ACD
ΔE00 2.17
Light Indigo
#6D5ACF
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6254CF #C1CF54
analogous
#5484CF #6254CF #9F54CF
triadic
#6254CF #CF6254 #54CF62
tetradic
#6254CF #CF5484 #C1CF54 #54CF9F
square
#6254CF #CF5484 #C1CF54 #54CF9F
split-complementary
#6254CF #CF9F54 #84CF54
monochromatic
#302584 #4132B3 #6254CF #8E84DC #BAB4EA
Accessibility & contrast
On white
5.69
#6254CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#6254CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6254CF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6254CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6254CF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#357189
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6254cf; /* rgb */ color: rgb(98, 84, 207); /* oklch */ color: oklch(52.8% 0.183 283.3);
Tailwind
colors: {
custom: {
50: '#9785de',
500: '#6254cf',
950: '#000000',
},
}SCSS
$custom: #6254cf; $custom-light: #9785de; $custom-dark: #000000;
JSON
{
"hex": "#6254cf",
"rgb": {
"r": 98,
"g": 84,
"b": 207
},
"hsl": {
"h": 246.829,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.52823,
"c": 0.18276,
"h": 283.3
},
"luminance": 0.13442
}Semantic roles & 50–950 ramp
primary
#6254CF
secondary
#D3D8A6
accent
#DF48CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83