#3152BA#3152BA
#3152BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.169 H 266.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3152BA |
|---|---|
| RGB | rgb(49, 82, 186) |
| HSL | hsl(226, 58%, 46%) |
| HSV | hsv(226, 74%, 73%) |
| CMYK | cmyk(73.7%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.25, 24.71, -58.38) |
| CIE-LCH | lch(38.25, 63.40, 292.94°) |
| OKLab | oklab(47.68% -0.0101 -0.1683) |
| OKLCH | oklch(47.68% 0.169 266.6) |
| XYZ | xyz(13.1437, 10.2313, 47.7270) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Cobalt
#0047AB
ΔE00 4.73
Blue Blue
#2242C7
ΔE00 5.30
Warm Blue
#4B57DB
ΔE00 6.10
Denim Blue
#3B5B92
ΔE00 6.24
Denim
#1560BD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152BA #BA9931
analogous
#3196BA #3152BA #5431BA
triadic
#3152BA #BA3152 #52BA31
tetradic
#3152BA #BA3196 #BA9931 #31BA54
square
#3152BA #BA3196 #BA9931 #31BA54
split-complementary
#3152BA #BA5431 #96BA31
monochromatic
#172759 #243D8A #3152BA #5674D2 #869CDF
Accessibility & contrast
On white
6.89
#3152BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3152BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152BA
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152BA | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3152ba; /* rgb */ color: rgb(49, 82, 186); /* oklch */ color: oklch(47.7% 0.169 266.6);
Tailwind
colors: {
custom: {
50: '#7c82cf',
500: '#3152ba',
950: '#000000',
},
}SCSS
$custom: #3152ba; $custom-light: #7c82cf; $custom-dark: #000000;
JSON
{
"hex": "#3152ba",
"rgb": {
"r": 49,
"g": 82,
"b": 186
},
"hsl": {
"h": 225.547,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.47684,
"c": 0.16859,
"h": 266.6
},
"luminance": 0.10233
}Semantic roles & 50–950 ramp
primary
#3152BA
secondary
#C9B77E
accent
#BC46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82