#3152C3#3152C3
#3152C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.181 H 266.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C3 |
|---|---|
| RGB | rgb(49, 82, 195) |
| HSL | hsl(226, 60%, 48%) |
| HSV | hsv(226, 75%, 76%) |
| CMYK | cmyk(74.9%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.94, 28.05, -62.52) |
| CIE-LCH | lch(38.94, 68.53, 294.17°) |
| OKLab | oklab(48.42% -0.0097 -0.1804) |
| OKLCH | oklch(48.42% 0.181 266.9) |
| XYZ | xyz(14.1308, 10.6261, 52.9255) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 5.47
Cobalt
#0047AB
ΔE00 5.52
Azul
#1D5DEC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C3 #C3A231
analogous
#319BC3 #3152C3 #5931C3
triadic
#3152C3 #C33152 #52C331
tetradic
#3152C3 #C3319B #C3A231 #31C359
square
#3152C3 #C3319B #C3A231 #31C359
split-complementary
#3152C3 #C35931 #9BC331
monochromatic
#182961 #253D92 #3152C3 #5B77D6 #8CA0E2
Accessibility & contrast
On white
6.72
#3152C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3152C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C3
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C3 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3152c3; /* rgb */ color: rgb(49, 82, 195); /* oklch */ color: oklch(48.4% 0.181 266.9);
Tailwind
colors: {
custom: {
50: '#7e82d6',
500: '#3152c3',
950: '#000000',
},
}SCSS
$custom: #3152c3; $custom-light: #7e82d6; $custom-dark: #000000;
JSON
{
"hex": "#3152c3",
"rgb": {
"r": 49,
"g": 82,
"b": 195
},
"hsl": {
"h": 226.438,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.48417,
"c": 0.18071,
"h": 266.9
},
"luminance": 0.10628
}Semantic roles & 50–950 ramp
primary
#3152C3
secondary
#CCBC83
accent
#BF45E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83