#6256BF#6256BF
#6256BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.159 H 284.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6256BF |
|---|---|
| RGB | rgb(98, 86, 191) |
| HSL | hsl(247, 45%, 54%) |
| HSV | hsv(247, 55%, 75%) |
| CMYK | cmyk(48.7%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(42.78, 32.51, -53.83) |
| CIE-LCH | lch(42.78, 62.88, 301.13°) |
| OKLab | oklab(52% 0.0401 -0.1536) |
| OKLCH | oklch(52% 0.159 284.6) |
| XYZ | xyz(17.7660, 13.0130, 50.8558) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.98
Slate Blue
#6A5ACD
ΔE00 2.70
Light Indigo
#6D5ACF
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256BF #B3BF56
analogous
#567FBF #6256BF #9756BF
triadic
#6256BF #BF6256 #56BF62
tetradic
#6256BF #BF567F #B3BF56 #56BF97
square
#6256BF #BF567F #B3BF56 #56BF97
split-complementary
#6256BF #BF9756 #7FBF56
monochromatic
#322A70 #463B9D #6256BF #8B82D0 #B4AFE1
Accessibility & contrast
On white
5.83
#6256BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#6256BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256BF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256BF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#416D82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6256bf; /* rgb */ color: rgb(98, 86, 191); /* oklch */ color: oklch(52.0% 0.159 284.6);
Tailwind
colors: {
custom: {
50: '#9586d3',
500: '#6256bf',
950: '#000000',
},
}SCSS
$custom: #6256bf; $custom-light: #9586d3; $custom-dark: #000000;
JSON
{
"hex": "#6256bf",
"rgb": {
"r": 98,
"g": 86,
"b": 191
},
"hsl": {
"h": 246.857,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.52,
"c": 0.15875,
"h": 284.6
},
"luminance": 0.13014
}Semantic roles & 50–950 ramp
primary
#6256BF
secondary
#CACFA2
accent
#D553C6
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83