#6254BF#6254BF
#6254BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.162 H 285.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6254BF |
|---|---|
| RGB | rgb(98, 84, 191) |
| HSL | hsl(248, 46%, 54%) |
| HSV | hsv(248, 56%, 75%) |
| CMYK | cmyk(48.7%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(42.30, 33.72, -54.60) |
| CIE-LCH | lch(42.30, 64.17, 301.70°) |
| OKLab | oklab(51.65% 0.0424 -0.1559) |
| OKLCH | oklch(51.65% 0.162 285.2) |
| XYZ | xyz(17.6085, 12.6981, 50.8033) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.45
Slate Blue
#6A5ACD
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 3.42
Dark Periwinkle
#665FD1
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 5.36
Warm Blue
#4B57DB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6254BF #B1BF54
analogous
#547CBF #6254BF #9854BF
triadic
#6254BF #BF6254 #54BF62
tetradic
#6254BF #BF547C #B1BF54 #54BF98
square
#6254BF #BF547C #B1BF54 #54BF98
split-complementary
#6254BF #BF9854 #7CBF54
monochromatic
#332A6F #473A9C #6254BF #8B81D0 #B4ADE0
Accessibility & contrast
On white
5.93
#6254BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#6254BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6254BF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6254BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6254BF | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#0861BD
Tritanopia (blue-blind)
#416C81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6254bf; /* rgb */ color: rgb(98, 84, 191); /* oklch */ color: oklch(51.6% 0.162 285.2);
Tailwind
colors: {
custom: {
50: '#9584d3',
500: '#6254bf',
950: '#000000',
},
}SCSS
$custom: #6254bf; $custom-light: #9584d3; $custom-dark: #000000;
JSON
{
"hex": "#6254bf",
"rgb": {
"r": 98,
"g": 84,
"b": 191
},
"hsl": {
"h": 247.85,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.51645,
"c": 0.16154,
"h": 285.2
},
"luminance": 0.12699
}Semantic roles & 50–950 ramp
primary
#6254BF
secondary
#C8CEA1
accent
#D553C4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83