#3152B0#3152B0
#3152B0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.155 H 266.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B0 |
|---|---|
| RGB | rgb(49, 82, 176) |
| HSL | hsl(224, 56%, 44%) |
| HSV | hsv(224, 72%, 69%) |
| CMYK | cmyk(72.2%, 53.4%, 0%, 31%) |
| CIE-LAB | lab(37.52, 20.96, -53.69) |
| CIE-LCH | lch(37.52, 57.63, 291.33°) |
| OKLab | oklab(46.9% -0.0108 -0.1545) |
| OKLCH | oklch(46.9% 0.155 266) |
| XYZ | xyz(12.1176, 9.8209, 42.3229) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.55
Cobalt
#0047AB
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B0 #B08F31
analogous
#3192B0 #3152B0 #4F31B0
triadic
#3152B0 #B03152 #52B031
tetradic
#3152B0 #B03192 #B08F31 #31B04F
square
#3152B0 #B03192 #B08F31 #31B04F
split-complementary
#3152B0 #B04F31 #92B031
monochromatic
#162550 #243C80 #3152B0 #5071CE #8098DC
Accessibility & contrast
On white
7.08
#3152B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#3152B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3152B0
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B0 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5EB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3152b0; /* rgb */ color: rgb(49, 82, 176); /* oklch */ color: oklch(46.9% 0.155 266.0);
Tailwind
colors: {
custom: {
50: '#7a82c8',
500: '#3152b0',
950: '#000000',
},
}SCSS
$custom: #3152b0; $custom-light: #7a82c8; $custom-dark: #000000;
JSON
{
"hex": "#3152b0",
"rgb": {
"r": 49,
"g": 82,
"b": 176
},
"hsl": {
"h": 224.409,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.46896,
"c": 0.15485,
"h": 266
},
"luminance": 0.09822
}Semantic roles & 50–950 ramp
primary
#3152B0
secondary
#C5B178
accent
#B848E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82