#3152B9#3152B9
#3152B9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.167 H 266.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B9 |
|---|---|
| RGB | rgb(49, 82, 185) |
| HSL | hsl(225, 58%, 46%) |
| HSV | hsv(225, 74%, 73%) |
| CMYK | cmyk(73.5%, 55.7%, 0%, 27.5%) |
| CIE-LAB | lab(38.18, 24.33, -57.92) |
| CIE-LCH | lch(38.18, 62.82, 292.79°) |
| OKLab | oklab(47.6% -0.0102 -0.1669) |
| OKLCH | oklch(47.6% 0.167 266.5) |
| XYZ | xyz(13.0378, 10.1889, 47.1691) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.65
Cobalt
#0047AB
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 5.36
Denim Blue
#3B5B92
ΔE00 6.14
Warm Blue
#4B57DB
ΔE00 6.23
Denim
#1560BD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B9 #B99831
analogous
#3196B9 #3152B9 #5431B9
triadic
#3152B9 #B93152 #52B931
tetradic
#3152B9 #B93196 #B99831 #31B954
square
#3152B9 #B93196 #B99831 #31B954
split-complementary
#3152B9 #B95431 #96B931
monochromatic
#172758 #243D89 #3152B9 #5573D2 #869BDF
Accessibility & contrast
On white
6.91
#3152B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3152B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152B9
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B9 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3152b9; /* rgb */ color: rgb(49, 82, 185); /* oklch */ color: oklch(47.6% 0.167 266.5);
Tailwind
colors: {
custom: {
50: '#7c82cf',
500: '#3152b9',
950: '#000000',
},
}SCSS
$custom: #3152b9; $custom-light: #7c82cf; $custom-dark: #000000;
JSON
{
"hex": "#3152b9",
"rgb": {
"r": 49,
"g": 82,
"b": 185
},
"hsl": {
"h": 225.441,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.47603,
"c": 0.16723,
"h": 266.5
},
"luminance": 0.1019
}Semantic roles & 50–950 ramp
primary
#3152B9
secondary
#C8B67D
accent
#BC46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82