#3152AB#3152AB
#3152AB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.148 H 265.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3152AB |
|---|---|
| RGB | rgb(49, 82, 171) |
| HSL | hsl(224, 55%, 43%) |
| HSV | hsv(224, 71%, 67%) |
| CMYK | cmyk(71.3%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(37.16, 19.09, -51.30) |
| CIE-LCH | lch(37.16, 54.73, 290.41°) |
| OKLab | oklab(46.51% -0.0113 -0.1474) |
| OKLCH | oklch(46.51% 0.148 265.6) |
| XYZ | xyz(11.6320, 9.6266, 39.7653) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.75
Cobalt
#0047AB
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.68
Dusk Blue
#26538D
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.12
Dusky Blue
#475F94
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152AB #AB8A31
analogous
#318FAB #3152AB #4D31AB
triadic
#3152AB #AB3152 #52AB31
tetradic
#3152AB #AB318F #AB8A31 #31AB4D
square
#3152AB #AB318F #AB8A31 #31AB4D
split-complementary
#3152AB #AB4D31 #8FAB31
monochromatic
#16244C #233B7B #3152AB #4D6FCC #7D96DA
Accessibility & contrast
On white
7.18
#3152AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#3152AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3152AB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152AB | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3152ab; /* rgb */ color: rgb(49, 82, 171); /* oklch */ color: oklch(46.5% 0.148 265.6);
Tailwind
colors: {
custom: {
50: '#7982c5',
500: '#3152ab',
950: '#000000',
},
}SCSS
$custom: #3152ab; $custom-light: #7982c5; $custom-dark: #000000;
JSON
{
"hex": "#3152ab",
"rgb": {
"r": 49,
"g": 82,
"b": 171
},
"hsl": {
"h": 223.77,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.46514,
"c": 0.14787,
"h": 265.6
},
"luminance": 0.09628
}Semantic roles & 50–950 ramp
primary
#3152AB
secondary
#C2AE75
accent
#B649DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82