#3152B2#3152B2
#3152B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.158 H 266.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B2 |
|---|---|
| RGB | rgb(49, 82, 178) |
| HSL | hsl(225, 57%, 45%) |
| HSV | hsv(225, 72%, 70%) |
| CMYK | cmyk(72.5%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(37.66, 21.71, -54.63) |
| CIE-LCH | lch(37.66, 58.79, 291.68°) |
| OKLab | oklab(47.05% -0.0107 -0.1573) |
| OKLCH | oklch(47.05% 0.158 266.1) |
| XYZ | xyz(12.3170, 9.9006, 43.3727) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.52
Cobalt
#0047AB
ΔE00 4.24
Denim Blue
#3B5B92
ΔE00 5.39
Dusk Blue
#26538D
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B2 #B29131
analogous
#3193B2 #3152B2 #5131B2
triadic
#3152B2 #B23152 #52B231
tetradic
#3152B2 #B23193 #B29131 #31B251
square
#3152B2 #B23193 #B29131 #31B251
split-complementary
#3152B2 #B25131 #93B231
monochromatic
#172652 #243C82 #3152B2 #5171CF #8198DC
Accessibility & contrast
On white
7.05
#3152B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#3152B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3152B2
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B2 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3152b2; /* rgb */ color: rgb(49, 82, 178); /* oklch */ color: oklch(47.1% 0.158 266.1);
Tailwind
colors: {
custom: {
50: '#7a82ca',
500: '#3152b2',
950: '#000000',
},
}SCSS
$custom: #3152b2; $custom-light: #7a82ca; $custom-dark: #000000;
JSON
{
"hex": "#3152b2",
"rgb": {
"r": 49,
"g": 82,
"b": 178
},
"hsl": {
"h": 224.651,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.47051,
"c": 0.15762,
"h": 266.1
},
"luminance": 0.09902
}Semantic roles & 50–950 ramp
primary
#3152B2
secondary
#C5B279
accent
#B948E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82