#3152B5#3152B5
#3152B5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.162 H 266.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B5 |
|---|---|
| RGB | rgb(49, 82, 181) |
| HSL | hsl(225, 57%, 45%) |
| HSV | hsv(225, 73%, 71%) |
| CMYK | cmyk(72.9%, 54.7%, 0%, 29%) |
| CIE-LAB | lab(37.88, 22.84, -56.05) |
| CIE-LCH | lch(37.88, 60.52, 292.17°) |
| OKLab | oklab(47.29% -0.0104 -0.1614) |
| OKLCH | oklch(47.29% 0.162 266.3) |
| XYZ | xyz(12.6215, 10.0224, 44.9764) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.53
Cobalt
#0047AB
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 5.65
Denim Blue
#3B5B92
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 6.21
Denim
#1560BD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B5 #B59431
analogous
#3194B5 #3152B5 #5231B5
triadic
#3152B5 #B53152 #52B531
tetradic
#3152B5 #B53194 #B59431 #31B552
square
#3152B5 #B53194 #B59431 #31B552
split-complementary
#3152B5 #B55231 #94B531
monochromatic
#172655 #243C85 #3152B5 #5372D0 #839ADD
Accessibility & contrast
On white
6.99
#3152B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#3152B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152B5
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B5 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3152b5; /* rgb */ color: rgb(49, 82, 181); /* oklch */ color: oklch(47.3% 0.162 266.3);
Tailwind
colors: {
custom: {
50: '#7b82cc',
500: '#3152b5',
950: '#000000',
},
}SCSS
$custom: #3152b5; $custom-light: #7b82cc; $custom-dark: #000000;
JSON
{
"hex": "#3152b5",
"rgb": {
"r": 49,
"g": 82,
"b": 181
},
"hsl": {
"h": 225,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.47286,
"c": 0.16176,
"h": 266.3
},
"luminance": 0.10024
}Semantic roles & 50–950 ramp
primary
#3152B5
secondary
#C7B47B
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82