#6256EF#6256EF
#6256EF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.221 H 280.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6256EF |
|---|---|
| RGB | rgb(98, 86, 239) |
| HSL | hsl(245, 83%, 64%) |
| HSV | hsv(245, 64%, 94%) |
| CMYK | cmyk(59%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(46.29, 47.28, -75.58) |
| CIE-LCH | lch(46.29, 89.15, 302.03°) |
| OKLab | oklab(55.68% 0.0382 -0.2176) |
| OKLCH | oklch(55.68% 0.221 280) |
| XYZ | xyz(23.9399, 15.4825, 83.3715) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 4.71
Purpleish Blue
#6140EF
ΔE00 5.35
Iris
#6258C4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256EF #E3EF56
analogous
#5696EF #6256EF #AE56EF
triadic
#6256EF #EF6256 #56EF62
tetradic
#6256EF #EF5696 #E3EF56 #56EFAE
square
#6256EF #EF5696 #E3EF56 #56EFAE
split-complementary
#6256EF #EFAE56 #96EF56
monochromatic
#1F12B9 #2E1EEA #6256EF #968EF4 #CAC6FA
Accessibility & contrast
On white
5.13
#6256EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6256EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256EF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256EF | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6256ef; /* rgb */ color: rgb(98, 86, 239); /* oklch */ color: oklch(55.7% 0.221 280.0);
Tailwind
colors: {
custom: {
50: '#9c87f5',
500: '#6256ef',
950: '#000000',
},
}SCSS
$custom: #6256ef; $custom-light: #9c87f5; $custom-dark: #000000;
JSON
{
"hex": "#6256ef",
"rgb": {
"r": 98,
"g": 86,
"b": 239
},
"hsl": {
"h": 244.706,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.55677,
"c": 0.22089,
"h": 280
},
"luminance": 0.15484
}Semantic roles & 50–950 ramp
primary
#6256EF
secondary
#E7EBB5
accent
#DF06CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85