#3152BC#3152BC
#3152BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.171 H 266.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3152BC |
|---|---|
| RGB | rgb(49, 82, 188) |
| HSL | hsl(226, 59%, 46%) |
| HSV | hsv(226, 74%, 74%) |
| CMYK | cmyk(73.9%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.41, 25.45, -59.31) |
| CIE-LCH | lch(38.41, 64.54, 293.23°) |
| OKLab | oklab(47.85% -0.01 -0.171) |
| OKLCH | oklch(47.85% 0.171 266.7) |
| XYZ | xyz(13.3578, 10.3170, 48.8546) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.80
Cobalt
#0047AB
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.86
Blue (survey)
#0343DF
ΔE00 6.14
Denim
#1560BD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152BC #BC9B31
analogous
#3198BC #3152BC #5531BC
triadic
#3152BC #BC3152 #52BC31
tetradic
#3152BC #BC3198 #BC9B31 #31BC55
square
#3152BC #BC3198 #BC9B31 #31BC55
split-complementary
#3152BC #BC5531 #98BC31
monochromatic
#18285B #243D8B #3152BC #5774D3 #889DE0
Accessibility & contrast
On white
6.85
#3152BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3152BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152BC
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152BC | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3152bc; /* rgb */ color: rgb(49, 82, 188); /* oklch */ color: oklch(47.8% 0.171 266.7);
Tailwind
colors: {
custom: {
50: '#7c82d1',
500: '#3152bc',
950: '#000000',
},
}SCSS
$custom: #3152bc; $custom-light: #7c82d1; $custom-dark: #000000;
JSON
{
"hex": "#3152bc",
"rgb": {
"r": 49,
"g": 82,
"b": 188
},
"hsl": {
"h": 225.755,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.47845,
"c": 0.1713,
"h": 266.7
},
"luminance": 0.10318
}Semantic roles & 50–950 ramp
primary
#3152BC
secondary
#CAB87F
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82