#6052BF#6052BF
#6052BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.165 H 284.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6052BF |
|---|---|
| RGB | rgb(96, 82, 191) |
| HSL | hsl(248, 46%, 54%) |
| HSV | hsv(248, 57%, 75%) |
| CMYK | cmyk(49.7%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.66, 34.51, -55.64) |
| CIE-LCH | lch(41.66, 65.48, 301.80°) |
| OKLab | oklab(51.13% 0.0421 -0.159) |
| OKLCH | oklch(51.13% 0.165 284.8) |
| XYZ | xyz(17.2423, 12.2821, 50.7423) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.96
Slate Blue
#6A5ACD
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.81
Bluey Purple
#6241C7
ΔE00 4.83
Ocean Blue
#4F42B5
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052BF #B1BF52
analogous
#527ABF #6052BF #9652BF
triadic
#6052BF #BF6052 #52BF60
tetradic
#6052BF #BF527A #B1BF52 #52BF96
square
#6052BF #BF527A #B1BF52 #52BF96
split-complementary
#6052BF #BF9652 #7ABF52
monochromatic
#32296E #46399B #6052BF #897FD0 #B2ABE0
Accessibility & contrast
On white
6.08
#6052BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#6052BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052BF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052BF | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3D6B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6052bf; /* rgb */ color: rgb(96, 82, 191); /* oklch */ color: oklch(51.1% 0.165 284.8);
Tailwind
colors: {
custom: {
50: '#9483d3',
500: '#6052bf',
950: '#000000',
},
}SCSS
$custom: #6052bf; $custom-light: #9483d3; $custom-dark: #000000;
JSON
{
"hex": "#6052bf",
"rgb": {
"r": 96,
"g": 82,
"b": 191
},
"hsl": {
"h": 247.706,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.51127,
"c": 0.16451,
"h": 284.8
},
"luminance": 0.12283
}Semantic roles & 50–950 ramp
primary
#6052BF
secondary
#C8CE9F
accent
#D652C5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83