#6256CF#6256CF
#6256CF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.180 H 282.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6256CF |
|---|---|
| RGB | rgb(98, 86, 207) |
| HSL | hsl(246, 56%, 57%) |
| HSV | hsv(246, 58%, 81%) |
| CMYK | cmyk(52.7%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.88, 37.41, -61.31) |
| CIE-LCH | lch(43.88, 71.82, 301.39°) |
| OKLab | oklab(53.16% 0.0401 -0.1756) |
| OKLCH | oklch(53.16% 0.18 282.9) |
| XYZ | xyz(19.6238, 13.7561, 60.6405) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.73
Slate Blue
#6A5ACD
ΔE00 1.78
Light Indigo
#6D5ACF
ΔE00 2.19
Dark Periwinkle
#665FD1
ΔE00 2.80
Warm Blue
#4B57DB
ΔE00 3.74
Bluey Purple
#6241C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256CF #C3CF56
analogous
#5687CF #6256CF #9E56CF
triadic
#6256CF #CF6256 #56CF62
tetradic
#6256CF #CF5687 #C3CF56 #56CF9E
square
#6256CF #CF5687 #C3CF56 #56CF9E
split-complementary
#6256CF #CF9E56 #87CF56
monochromatic
#2F2685 #4033B5 #6256CF #8E86DD #BBB5EA
Accessibility & contrast
On white
5.60
#6256CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#6256CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256CF
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256CF | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#34728A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6256cf; /* rgb */ color: rgb(98, 86, 207); /* oklch */ color: oklch(53.2% 0.180 282.9);
Tailwind
colors: {
custom: {
50: '#9786de',
500: '#6256cf',
950: '#000000',
},
}SCSS
$custom: #6256cf; $custom-light: #9786de; $custom-dark: #000000;
JSON
{
"hex": "#6256cf",
"rgb": {
"r": 98,
"g": 86,
"b": 207
},
"hsl": {
"h": 245.95,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.53162,
"c": 0.18015,
"h": 282.9
},
"luminance": 0.13757
}Semantic roles & 50–950 ramp
primary
#6256CF
secondary
#D4D9A8
accent
#DF49D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83