#3152BD#3152BD
#3152BD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.173 H 266.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3152BD |
|---|---|
| RGB | rgb(49, 82, 189) |
| HSL | hsl(226, 59%, 47%) |
| HSV | hsv(226, 74%, 74%) |
| CMYK | cmyk(74.1%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.48, 25.82, -59.77) |
| CIE-LCH | lch(38.48, 65.11, 293.37°) |
| OKLab | oklab(47.93% -0.0099 -0.1724) |
| OKLCH | oklch(47.93% 0.173 266.7) |
| XYZ | xyz(13.4660, 10.3602, 49.4243) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Cobalt
#0047AB
ΔE00 4.97
Blue Blue
#2242C7
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 6.04
Denim
#1560BD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152BD #BD9C31
analogous
#3198BD #3152BD #5631BD
triadic
#3152BD #BD3152 #52BD31
tetradic
#3152BD #BD3198 #BD9C31 #31BD56
square
#3152BD #BD3198 #BD9C31 #31BD56
split-complementary
#3152BD #BD5631 #98BD31
monochromatic
#18285C #243D8C #3152BD #5875D4 #889DE0
Accessibility & contrast
On white
6.84
#3152BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#3152BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152BD
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152BD | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3152bd; /* rgb */ color: rgb(49, 82, 189); /* oklch */ color: oklch(47.9% 0.173 266.7);
Tailwind
colors: {
custom: {
50: '#7d82d2',
500: '#3152bd',
950: '#000000',
},
}SCSS
$custom: #3152bd; $custom-light: #7d82d2; $custom-dark: #000000;
JSON
{
"hex": "#3152bd",
"rgb": {
"r": 49,
"g": 82,
"b": 189
},
"hsl": {
"h": 225.857,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.47925,
"c": 0.17266,
"h": 266.7
},
"luminance": 0.10362
}Semantic roles & 50–950 ramp
primary
#3152BD
secondary
#CAB980
accent
#BD46E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83