#6254BB#6254BB
#6254BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.156 H 285.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6254BB |
|---|---|
| RGB | rgb(98, 84, 187) |
| HSL | hsl(248, 43%, 53%) |
| HSV | hsv(248, 55%, 73%) |
| CMYK | cmyk(47.6%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(42.04, 32.51, -52.69) |
| CIE-LCH | lch(42.04, 61.92, 301.67°) |
| OKLab | oklab(51.36% 0.0423 -0.1503) |
| OKLCH | oklch(51.36% 0.156 285.7) |
| XYZ | xyz(17.1743, 12.5244, 48.5166) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.85
Slate Blue
#6A5ACD
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 3.85
Dark Periwinkle
#665FD1
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6254BB #ADBB54
analogous
#5479BB #6254BB #9554BB
triadic
#6254BB #BB6254 #54BB62
tetradic
#6254BB #BB5479 #ADBB54 #54BB95
square
#6254BB #BB5479 #ADBB54 #54BB95
split-complementary
#6254BB #BB9554 #79BB54
monochromatic
#332A6A #483C96 #6254BB #8A80CC #B2ACDE
Accessibility & contrast
On white
5.99
#6254BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#6254BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6254BB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6254BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6254BB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#446B7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6254bb; /* rgb */ color: rgb(98, 84, 187); /* oklch */ color: oklch(51.4% 0.156 285.7);
Tailwind
colors: {
custom: {
50: '#9584d0',
500: '#6254bb',
950: '#000000',
},
}SCSS
$custom: #6254bb; $custom-light: #9584d0; $custom-dark: #000000;
JSON
{
"hex": "#6254bb",
"rgb": {
"r": 98,
"g": 84,
"b": 187
},
"hsl": {
"h": 248.155,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.51362,
"c": 0.15612,
"h": 285.7
},
"luminance": 0.12525
}Semantic roles & 50–950 ramp
primary
#6254BB
secondary
#C6CC9F
accent
#D355C2
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82