#6256EE#6256EE
#6256EE is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.220 H 280.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6256EE |
|---|---|
| RGB | rgb(98, 86, 238) |
| HSL | hsl(245, 82%, 64%) |
| HSV | hsv(245, 64%, 93%) |
| CMYK | cmyk(58.8%, 63.9%, 0%, 6.7%) |
| CIE-LAB | lab(46.21, 46.97, -75.14) |
| CIE-LCH | lch(46.21, 88.62, 302.01°) |
| OKLab | oklab(55.6% 0.0383 -0.2163) |
| OKLCH | oklch(55.6% 0.22 280) |
| XYZ | xyz(23.7925, 15.4236, 82.5956) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 4.48
Slate Blue
#6A5ACD
ΔE00 4.60
Purpleish Blue
#6140EF
ΔE00 5.33
Iris
#6258C4
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256EE #E2EE56
analogous
#5696EE #6256EE #AE56EE
triadic
#6256EE #EE6256 #56EE62
tetradic
#6256EE #EE5696 #E2EE56 #56EEAE
square
#6256EE #EE5696 #E2EE56 #56EEAE
split-complementary
#6256EE #EEAE56 #96EE56
monochromatic
#1F12B7 #2E1EE8 #6256EE #968EF4 #C9C5F9
Accessibility & contrast
On white
5.14
#6256EE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#6256EE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256EE
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256EE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256EE | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6256ee; /* rgb */ color: rgb(98, 86, 238); /* oklch */ color: oklch(55.6% 0.220 280.0);
Tailwind
colors: {
custom: {
50: '#9c86f5',
500: '#6256ee',
950: '#000000',
},
}SCSS
$custom: #6256ee; $custom-light: #9c86f5; $custom-dark: #000000;
JSON
{
"hex": "#6256ee",
"rgb": {
"r": 98,
"g": 86,
"b": 238
},
"hsl": {
"h": 244.737,
"s": 81.72,
"l": 63.529
},
"oklch": {
"l": 0.55595,
"c": 0.21965,
"h": 280
},
"luminance": 0.15425
}Semantic roles & 50–950 ramp
primary
#6256EE
secondary
#E7EBB5
accent
#DE07CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85