#3152AE#3152AE
#3152AE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.152 H 265.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3152AE |
|---|---|
| RGB | rgb(49, 82, 174) |
| HSL | hsl(224, 56%, 44%) |
| HSV | hsv(224, 72%, 68%) |
| CMYK | cmyk(71.8%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(37.38, 20.21, -52.73) |
| CIE-LCH | lch(37.38, 56.48, 290.97°) |
| OKLab | oklab(46.74% -0.011 -0.1517) |
| OKLCH | oklch(46.74% 0.152 265.8) |
| XYZ | xyz(11.9212, 9.7423, 41.2884) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Cobalt
#0047AB
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 4.98
Dusk Blue
#26538D
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152AE #AE8D31
analogous
#3190AE #3152AE #4E31AE
triadic
#3152AE #AE3152 #52AE31
tetradic
#3152AE #AE3190 #AE8D31 #31AE4E
square
#3152AE #AE3190 #AE8D31 #31AE4E
split-complementary
#3152AE #AE4E31 #90AE31
monochromatic
#16254E #243B7E #3152AE #4F70CD #7F97DB
Accessibility & contrast
On white
7.12
#3152AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#3152AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3152AE
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152AE | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3152ae; /* rgb */ color: rgb(49, 82, 174); /* oklch */ color: oklch(46.7% 0.152 265.8);
Tailwind
colors: {
custom: {
50: '#7982c7',
500: '#3152ae',
950: '#000000',
},
}SCSS
$custom: #3152ae; $custom-light: #7982c7; $custom-dark: #000000;
JSON
{
"hex": "#3152ae",
"rgb": {
"r": 49,
"g": 82,
"b": 174
},
"hsl": {
"h": 224.16,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.46742,
"c": 0.15207,
"h": 265.8
},
"luminance": 0.09744
}Semantic roles & 50–950 ramp
primary
#3152AE
secondary
#C4AF77
accent
#B848DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82