#6056BF#6056BF
#6056BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.159 H 283.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6056BF |
|---|---|
| RGB | rgb(96, 86, 191) |
| HSL | hsl(246, 45%, 54%) |
| HSV | hsv(246, 55%, 75%) |
| CMYK | cmyk(49.7%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(42.62, 32.08, -54.10) |
| CIE-LCH | lch(42.62, 62.90, 300.66°) |
| OKLab | oklab(51.84% 0.0376 -0.1545) |
| OKLCH | oklch(51.84% 0.159 283.7) |
| XYZ | xyz(17.5528, 12.9031, 50.8458) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.99
Slate Blue
#6A5ACD
ΔE00 2.88
Light Indigo
#6D5ACF
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 3.90
Warm Blue
#4B57DB
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6056BF #B5BF56
analogous
#5681BF #6056BF #9556BF
triadic
#6056BF #BF6056 #56BF60
tetradic
#6056BF #BF5681 #B5BF56 #56BF95
square
#6056BF #BF5681 #B5BF56 #56BF95
split-complementary
#6056BF #BF9556 #81BF56
monochromatic
#312A70 #453B9D #6056BF #8A82D0 #B4AFE1
Accessibility & contrast
On white
5.86
#6056BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6056BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6056BF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6056BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6056BF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#3D6D82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6056bf; /* rgb */ color: rgb(96, 86, 191); /* oklch */ color: oklch(51.8% 0.159 283.7);
Tailwind
colors: {
custom: {
50: '#9486d3',
500: '#6056bf',
950: '#000000',
},
}SCSS
$custom: #6056bf; $custom-light: #9486d3; $custom-dark: #000000;
JSON
{
"hex": "#6056bf",
"rgb": {
"r": 96,
"g": 86,
"b": 191
},
"hsl": {
"h": 245.714,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51835,
"c": 0.15899,
"h": 283.7
},
"luminance": 0.12904
}Semantic roles & 50–950 ramp
primary
#6056BF
secondary
#CACFA2
accent
#D553C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83