#6052AF#6052AF
#6052AF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.143 H 287.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6052AF |
|---|---|
| RGB | rgb(96, 82, 175) |
| HSL | hsl(249, 37%, 50%) |
| HSV | hsv(249, 53%, 69%) |
| CMYK | cmyk(45.1%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(40.60, 29.66, -47.97) |
| CIE-LCH | lch(40.60, 56.40, 301.73°) |
| OKLab | oklab(50% 0.0416 -0.1365) |
| OKLCH | oklch(50% 0.143 287) |
| XYZ | xyz(15.5768, 11.6159, 41.9705) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052AF #A1AF52
analogous
#5272AF #6052AF #8E52AF
triadic
#6052AF #AF6052 #52AF60
tetradic
#6052AF #AF5272 #A1AF52 #52AF8E
square
#6052AF #AF5272 #A1AF52 #52AF8E
split-complementary
#6052AF #AF8E52 #72AF52
monochromatic
#322B5C #493E86 #6052AF #867CC2 #ADA6D6
Accessibility & contrast
On white
6.32
#6052AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#6052AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052AF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052AF | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#476678
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6052af; /* rgb */ color: rgb(96, 82, 175); /* oklch */ color: oklch(50.0% 0.143 287.0);
Tailwind
colors: {
custom: {
50: '#9283c7',
500: '#6052af',
950: '#000000',
},
}SCSS
$custom: #6052af; $custom-light: #9283c7; $custom-dark: #000000;
JSON
{
"hex": "#6052af",
"rgb": {
"r": 96,
"g": 82,
"b": 175
},
"hsl": {
"h": 249.032,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.49999,
"c": 0.14268,
"h": 287
},
"luminance": 0.11617
}Semantic roles & 50–950 ramp
primary
#6052AF
secondary
#BDC39A
accent
#CD5BBC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82