#6254BC#6254BC
#6254BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.157 H 285.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6254BC |
|---|---|
| RGB | rgb(98, 84, 188) |
| HSL | hsl(248, 44%, 53%) |
| HSV | hsv(248, 55%, 74%) |
| CMYK | cmyk(47.9%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(42.10, 32.81, -53.17) |
| CIE-LCH | lch(42.10, 62.48, 301.68°) |
| OKLab | oklab(51.43% 0.0423 -0.1517) |
| OKLCH | oklch(51.43% 0.157 285.6) |
| XYZ | xyz(17.2818, 12.5674, 49.0824) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.74
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.62
Bluey Purple
#6241C7
ΔE00 5.50
Warm Blue
#4B57DB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6254BC #AEBC54
analogous
#547ABC #6254BC #9654BC
triadic
#6254BC #BC6254 #54BC62
tetradic
#6254BC #BC547A #AEBC54 #54BC96
square
#6254BC #BC547A #AEBC54 #54BC96
split-complementary
#6254BC #BC9654 #7ABC54
monochromatic
#332A6B #483B97 #6254BC #8A80CD #B3ACDE
Accessibility & contrast
On white
5.98
#6254BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#6254BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6254BC
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6254BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6254BC | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#436B80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6254bc; /* rgb */ color: rgb(98, 84, 188); /* oklch */ color: oklch(51.4% 0.157 285.6);
Tailwind
colors: {
custom: {
50: '#9584d1',
500: '#6254bc',
950: '#000000',
},
}SCSS
$custom: #6254bc; $custom-light: #9584d1; $custom-dark: #000000;
JSON
{
"hex": "#6254bc",
"rgb": {
"r": 98,
"g": 84,
"b": 188
},
"hsl": {
"h": 248.077,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.51432,
"c": 0.15749,
"h": 285.6
},
"luminance": 0.12568
}Semantic roles & 50–950 ramp
primary
#6254BC
secondary
#C6CCA0
accent
#D354C2
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82