#6256BB#6256BB
#6256BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.153 H 285.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6256BB |
|---|---|
| RGB | rgb(98, 86, 187) |
| HSL | hsl(247, 43%, 54%) |
| HSV | hsv(247, 54%, 73%) |
| CMYK | cmyk(47.6%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(42.52, 31.29, -51.92) |
| CIE-LCH | lch(42.52, 60.62, 301.08°) |
| OKLab | oklab(51.72% 0.0399 -0.148) |
| OKLCH | oklch(51.72% 0.153 285.1) |
| XYZ | xyz(17.3318, 12.8393, 48.5691) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.52
Slate Blue
#6A5ACD
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 5.77
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6256BB #AFBB56
analogous
#567CBB #6256BB #9456BB
triadic
#6256BB #BB6256 #56BB62
tetradic
#6256BB #BB567C #AFBB56 #56BB94
square
#6256BB #BB567C #AFBB56 #56BB94
split-complementary
#6256BB #BB9456 #7CBB56
monochromatic
#332B6B #473D97 #6256BB #8B82CD #B3ADDE
Accessibility & contrast
On white
5.89
#6256BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6256BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6256BB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6256BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6256BB | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#446C80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6256bb; /* rgb */ color: rgb(98, 86, 187); /* oklch */ color: oklch(51.7% 0.153 285.1);
Tailwind
colors: {
custom: {
50: '#9586d0',
500: '#6256bb',
950: '#000000',
},
}SCSS
$custom: #6256bb; $custom-light: #9586d0; $custom-dark: #000000;
JSON
{
"hex": "#6256bb",
"rgb": {
"r": 98,
"g": 86,
"b": 187
},
"hsl": {
"h": 247.129,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.5172,
"c": 0.15329,
"h": 285.1
},
"luminance": 0.1284
}Semantic roles & 50–950 ramp
primary
#6256BB
secondary
#C7CCA1
accent
#D255C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82