#6256C8#6256C8
#6256C8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.171 H 283.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6256C8 |
|---|---|
| RGB | rgb(98, 86, 200) |
| HSL | hsl(246, 51%, 56%) |
| HSV | hsv(246, 57%, 78%) |
| CMYK | cmyk(51%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(43.39, 35.26, -58.06) |
| CIE-LCH | lch(43.39, 67.93, 301.27°) |
| OKLab | oklab(52.65% 0.0402 -0.1661) |
| OKLCH | oklch(52.65% 0.171 283.6) |
| XYZ | xyz(18.7870, 13.4214, 56.2330) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.87
Slate Blue
#6A5ACD
ΔE00 1.90
Light Indigo
#6D5ACF
ΔE00 2.42
Dark Periwinkle
#665FD1
ΔE00 3.10
Warm Blue
#4B57DB
ΔE00 4.28
Bluey Purple
#6241C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256C8 #BCC856
analogous
#5683C8 #6256C8 #9B56C8
triadic
#6256C8 #C86256 #56C862
tetradic
#6256C8 #C85683 #BCC856 #56C89B
square
#6256C8 #C85683 #BCC856 #56C89B
split-complementary
#6256C8 #C89B56 #83C856
monochromatic
#31287B #4337AA #6256C8 #8D84D7 #B8B2E6
Accessibility & contrast
On white
5.70
#6256C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6256C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256C8
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256C8 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#3A7087
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6256c8; /* rgb */ color: rgb(98, 86, 200); /* oklch */ color: oklch(52.6% 0.171 283.6);
Tailwind
colors: {
custom: {
50: '#9686d9',
500: '#6256c8',
950: '#000000',
},
}SCSS
$custom: #6256c8; $custom-light: #9686d9; $custom-dark: #000000;
JSON
{
"hex": "#6256c8",
"rgb": {
"r": 98,
"g": 86,
"b": 200
},
"hsl": {
"h": 246.316,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.52645,
"c": 0.17088,
"h": 283.6
},
"luminance": 0.13422
}Semantic roles & 50–950 ramp
primary
#6256C8
secondary
#CFD4A5
accent
#DA4DCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83