#6152AF#6152AF
#6152AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.143 H 287.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6152AF |
|---|---|
| RGB | rgb(97, 82, 175) |
| HSL | hsl(250, 37%, 50%) |
| HSV | hsv(250, 53%, 69%) |
| CMYK | cmyk(44.6%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(40.69, 29.90, -47.82) |
| CIE-LCH | lch(40.69, 56.40, 302.01°) |
| OKLab | oklab(50.09% 0.0429 -0.136) |
| OKLCH | oklch(50.09% 0.143 287.5) |
| XYZ | xyz(15.6827, 11.6705, 41.9754) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 5.27
Ocean Blue
#4F42B5
ΔE00 5.50
Royal Purple
#7851A9
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152AF #A0AF52
analogous
#5272AF #6152AF #8F52AF
triadic
#6152AF #AF6152 #52AF61
tetradic
#6152AF #AF5272 #A0AF52 #52AF8F
square
#6152AF #AF5272 #A0AF52 #52AF8F
split-complementary
#6152AF #AF8F52 #72AF52
monochromatic
#332B5C #4A3E86 #6152AF #877CC2 #ADA6D6
Accessibility & contrast
On white
6.30
#6152AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#6152AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152AF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152AF | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#496678
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6152af; /* rgb */ color: rgb(97, 82, 175); /* oklch */ color: oklch(50.1% 0.143 287.5);
Tailwind
colors: {
custom: {
50: '#9383c7',
500: '#6152af',
950: '#000000',
},
}SCSS
$custom: #6152af; $custom-light: #9383c7; $custom-dark: #000000;
JSON
{
"hex": "#6152af",
"rgb": {
"r": 97,
"g": 82,
"b": 175
},
"hsl": {
"h": 249.677,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.50087,
"c": 0.14262,
"h": 287.5
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#6152AF
secondary
#BCC39A
accent
#CD5BBA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82