#6256BD#6256BD
#6256BD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.156 H 284.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6256BD |
|---|---|
| RGB | rgb(98, 86, 189) |
| HSL | hsl(247, 44%, 54%) |
| HSV | hsv(247, 54%, 74%) |
| CMYK | cmyk(48.1%, 54.5%, 0%, 25.9%) |
| CIE-LAB | lab(42.65, 31.90, -52.87) |
| CIE-LCH | lch(42.65, 61.75, 301.10°) |
| OKLab | oklab(51.86% 0.04 -0.1508) |
| OKLCH | oklch(51.86% 0.156 284.9) |
| XYZ | xyz(17.5474, 12.9255, 49.7045) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.24
Slate Blue
#6A5ACD
ΔE00 2.93
Light Indigo
#6D5ACF
ΔE00 3.43
Dark Periwinkle
#665FD1
ΔE00 4.09
Warm Blue
#4B57DB
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256BD #B1BD56
analogous
#567EBD #6256BD #9656BD
triadic
#6256BD #BD6256 #56BD62
tetradic
#6256BD #BD567E #B1BD56 #56BD96
square
#6256BD #BD567E #B1BD56 #56BD96
split-complementary
#6256BD #BD9656 #7EBD56
monochromatic
#332B6E #473C9A #6256BD #8B82CE #B4AEDF
Accessibility & contrast
On white
5.86
#6256BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6256BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256BD
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256BD | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#426D81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6256bd; /* rgb */ color: rgb(98, 86, 189); /* oklch */ color: oklch(51.9% 0.156 284.9);
Tailwind
colors: {
custom: {
50: '#9586d1',
500: '#6256bd',
950: '#000000',
},
}SCSS
$custom: #6256bd; $custom-light: #9586d1; $custom-dark: #000000;
JSON
{
"hex": "#6256bd",
"rgb": {
"r": 98,
"g": 86,
"b": 189
},
"hsl": {
"h": 246.99,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.5186,
"c": 0.15603,
"h": 284.9
},
"luminance": 0.12926
}Semantic roles & 50–950 ramp
primary
#6256BD
secondary
#C8CDA1
accent
#D454C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82