#6256CB#6256CB
#6256CB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.175 H 283.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6256CB |
|---|---|
| RGB | rgb(98, 86, 203) |
| HSL | hsl(246, 53%, 57%) |
| HSV | hsv(246, 58%, 80%) |
| CMYK | cmyk(51.7%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.60, 36.18, -59.46) |
| CIE-LCH | lch(43.60, 69.60, 301.32°) |
| OKLab | oklab(52.86% 0.0402 -0.1702) |
| OKLCH | oklch(52.86% 0.175 283.3) |
| XYZ | xyz(19.1410, 13.5630, 58.0977) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.22
Slate Blue
#6A5ACD
ΔE00 1.78
Light Indigo
#6D5ACF
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 2.94
Warm Blue
#4B57DB
ΔE00 4.02
Bluey Purple
#6241C7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256CB #BFCB56
analogous
#5685CB #6256CB #9D56CB
triadic
#6256CB #CB6256 #56CB62
tetradic
#6256CB #CB5685 #BFCB56 #56CB9D
square
#6256CB #CB5685 #BFCB56 #56CB9D
split-complementary
#6256CB #CB9D56 #85CB56
monochromatic
#30277F #4236AE #6256CB #8D85D9 #B9B4E8
Accessibility & contrast
On white
5.66
#6256CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6256CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256CB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256CB | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#387188
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6256cb; /* rgb */ color: rgb(98, 86, 203); /* oklch */ color: oklch(52.9% 0.175 283.3);
Tailwind
colors: {
custom: {
50: '#9786dc',
500: '#6256cb',
950: '#000000',
},
}SCSS
$custom: #6256cb; $custom-light: #9786dc; $custom-dark: #000000;
JSON
{
"hex": "#6256cb",
"rgb": {
"r": 98,
"g": 86,
"b": 203
},
"hsl": {
"h": 246.154,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.52865,
"c": 0.17486,
"h": 283.3
},
"luminance": 0.13564
}Semantic roles & 50–950 ramp
primary
#6256CB
secondary
#D1D6A6
accent
#DC4BCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83