#3152BB#3152BB
#3152BB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.170 H 266.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3152BB |
|---|---|
| RGB | rgb(49, 82, 187) |
| HSL | hsl(226, 58%, 46%) |
| HSV | hsv(226, 74%, 73%) |
| CMYK | cmyk(73.8%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.33, 25.08, -58.85) |
| CIE-LCH | lch(38.33, 63.97, 293.08°) |
| OKLab | oklab(47.76% -0.01 -0.1696) |
| OKLCH | oklch(47.76% 0.17 266.6) |
| XYZ | xyz(13.2504, 10.2740, 48.2888) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.75
Cobalt
#0047AB
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 5.24
Warm Blue
#4B57DB
ΔE00 5.98
Blue (survey)
#0343DF
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152BB #BB9A31
analogous
#3197BB #3152BB #5531BB
triadic
#3152BB #BB3152 #52BB31
tetradic
#3152BB #BB3197 #BB9A31 #31BB55
square
#3152BB #BB3197 #BB9A31 #31BB55
split-complementary
#3152BB #BB5531 #97BB31
monochromatic
#18275A #243D8B #3152BB #5674D3 #879CE0
Accessibility & contrast
On white
6.87
#3152BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3152BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152BB
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152BB | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3152bb; /* rgb */ color: rgb(49, 82, 187); /* oklch */ color: oklch(47.8% 0.170 266.6);
Tailwind
colors: {
custom: {
50: '#7c82d0',
500: '#3152bb',
950: '#000000',
},
}SCSS
$custom: #3152bb; $custom-light: #7c82d0; $custom-dark: #000000;
JSON
{
"hex": "#3152bb",
"rgb": {
"r": 49,
"g": 82,
"b": 187
},
"hsl": {
"h": 225.652,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.47764,
"c": 0.16995,
"h": 266.6
},
"luminance": 0.10275
}Semantic roles & 50–950 ramp
primary
#3152BB
secondary
#C9B77F
accent
#BC46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82