#6051AF#6051AF
#6051AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.144 H 287.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6051AF |
|---|---|
| RGB | rgb(96, 81, 175) |
| HSL | hsl(250, 37%, 50%) |
| HSV | hsv(250, 54%, 69%) |
| CMYK | cmyk(45.1%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(40.35, 30.27, -48.36) |
| CIE-LCH | lch(40.35, 57.06, 302.05°) |
| OKLab | oklab(49.82% 0.0428 -0.1376) |
| OKLCH | oklch(49.82% 0.144 287.3) |
| XYZ | xyz(15.5019, 11.4662, 41.9455) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.87
Ocean Blue
#4F42B5
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 5.81
Bluey Purple
#6241C7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6051AF #A0AF51
analogous
#5171AF #6051AF #8F51AF
triadic
#6051AF #AF6051 #51AF60
tetradic
#6051AF #AF5171 #A0AF51 #51AF8F
square
#6051AF #AF5171 #A0AF51 #51AF8F
split-complementary
#6051AF #AF8F51 #71AF51
monochromatic
#322A5C #493D85 #6051AF #867BC2 #ADA5D6
Accessibility & contrast
On white
6.38
#6051AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#6051AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6051AF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6051AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6051AF | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#486578
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6051af; /* rgb */ color: rgb(96, 81, 175); /* oklch */ color: oklch(49.8% 0.144 287.3);
Tailwind
colors: {
custom: {
50: '#9282c7',
500: '#6051af',
950: '#000000',
},
}SCSS
$custom: #6051af; $custom-light: #9282c7; $custom-dark: #000000;
JSON
{
"hex": "#6051af",
"rgb": {
"r": 96,
"g": 81,
"b": 175
},
"hsl": {
"h": 249.574,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.49817,
"c": 0.14414,
"h": 287.3
},
"luminance": 0.11467
}Semantic roles & 50–950 ramp
primary
#6051AF
secondary
#BCC399
accent
#CD5BBB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82