#6256BC#6256BC
#6256BC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.155 H 285.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6256BC |
|---|---|
| RGB | rgb(98, 86, 188) |
| HSL | hsl(247, 43%, 54%) |
| HSV | hsv(247, 54%, 74%) |
| CMYK | cmyk(47.9%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(42.59, 31.60, -52.40) |
| CIE-LCH | lch(42.59, 61.18, 301.09°) |
| OKLab | oklab(51.79% 0.04 -0.1494) |
| OKLCH | oklch(51.79% 0.155 285) |
| XYZ | xyz(17.4392, 12.8823, 49.1348) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.38
Slate Blue
#6A5ACD
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 3.55
Dark Periwinkle
#665FD1
ΔE00 4.21
Warm Blue
#4B57DB
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256BC #B0BC56
analogous
#567DBC #6256BC #9556BC
triadic
#6256BC #BC6256 #56BC62
tetradic
#6256BC #BC567D #B0BC56 #56BC95
square
#6256BC #BC567D #B0BC56 #56BC95
split-complementary
#6256BC #BC9556 #7DBC56
monochromatic
#332B6D #473C98 #6256BC #8B82CD #B3AEDF
Accessibility & contrast
On white
5.87
#6256BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6256BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256BC
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256BC | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#1A61BA
Tritanopia (blue-blind)
#436C81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6256bc; /* rgb */ color: rgb(98, 86, 188); /* oklch */ color: oklch(51.8% 0.155 285.0);
Tailwind
colors: {
custom: {
50: '#9586d1',
500: '#6256bc',
950: '#000000',
},
}SCSS
$custom: #6256bc; $custom-light: #9586d1; $custom-dark: #000000;
JSON
{
"hex": "#6256bc",
"rgb": {
"r": 98,
"g": 86,
"b": 188
},
"hsl": {
"h": 247.059,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.5179,
"c": 0.15467,
"h": 285
},
"luminance": 0.12883
}Semantic roles & 50–950 ramp
primary
#6256BC
secondary
#C8CDA1
accent
#D355C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82