#3152B3#3152B3
#3152B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.159 H 266.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B3 |
|---|---|
| RGB | rgb(49, 82, 179) |
| HSL | hsl(225, 57%, 45%) |
| HSV | hsv(225, 73%, 70%) |
| CMYK | cmyk(72.6%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(37.74, 22.09, -55.11) |
| CIE-LCH | lch(37.74, 59.37, 291.84°) |
| OKLab | oklab(47.13% -0.0106 -0.1587) |
| OKLCH | oklch(47.13% 0.159 266.2) |
| XYZ | xyz(12.4178, 9.9409, 43.9034) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.51
Cobalt
#0047AB
ΔE00 4.29
Denim Blue
#3B5B92
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B3 #B39231
analogous
#3193B3 #3152B3 #5131B3
triadic
#3152B3 #B33152 #52B331
tetradic
#3152B3 #B33193 #B39231 #31B351
square
#3152B3 #B33193 #B39231 #31B351
split-complementary
#3152B3 #B35131 #93B331
monochromatic
#172653 #243C83 #3152B3 #5272D0 #8299DD
Accessibility & contrast
On white
7.03
#3152B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#3152B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3152B3
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B3 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3152b3; /* rgb */ color: rgb(49, 82, 179); /* oklch */ color: oklch(47.1% 0.159 266.2);
Tailwind
colors: {
custom: {
50: '#7a82ca',
500: '#3152b3',
950: '#000000',
},
}SCSS
$custom: #3152b3; $custom-light: #7a82ca; $custom-dark: #000000;
JSON
{
"hex": "#3152b3",
"rgb": {
"r": 49,
"g": 82,
"b": 179
},
"hsl": {
"h": 224.769,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.47129,
"c": 0.159,
"h": 266.2
},
"luminance": 0.09942
}Semantic roles & 50–950 ramp
primary
#3152B3
secondary
#C6B37A
accent
#BA48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82