#3152C1#3152C1
#3152C1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.178 H 266.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C1 |
|---|---|
| RGB | rgb(49, 82, 193) |
| HSL | hsl(226, 60%, 47%) |
| HSV | hsv(226, 75%, 76%) |
| CMYK | cmyk(74.6%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(38.79, 27.31, -61.61) |
| CIE-LCH | lch(38.79, 67.39, 293.91°) |
| OKLab | oklab(48.25% -0.0098 -0.1778) |
| OKLCH | oklch(48.25% 0.178 266.9) |
| XYZ | xyz(13.9062, 10.5363, 51.7426) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 4.95
Warm Blue
#4B57DB
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.33
Blue (survey)
#0343DF
ΔE00 5.65
Azul
#1D5DEC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C1 #C1A031
analogous
#319AC1 #3152C1 #5831C1
triadic
#3152C1 #C13152 #52C131
tetradic
#3152C1 #C1319A #C1A031 #31C158
square
#3152C1 #C1319A #C1A031 #31C158
split-complementary
#3152C1 #C15831 #9AC131
monochromatic
#18295F #253D90 #3152C1 #5A76D5 #8B9FE2
Accessibility & contrast
On white
6.76
#3152C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3152C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C1
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C1 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3152c1; /* rgb */ color: rgb(49, 82, 193); /* oklch */ color: oklch(48.3% 0.178 266.9);
Tailwind
colors: {
custom: {
50: '#7e82d5',
500: '#3152c1',
950: '#000000',
},
}SCSS
$custom: #3152c1; $custom-light: #7e82d5; $custom-dark: #000000;
JSON
{
"hex": "#3152c1",
"rgb": {
"r": 49,
"g": 82,
"b": 193
},
"hsl": {
"h": 226.25,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.48252,
"c": 0.17804,
"h": 266.9
},
"luminance": 0.10538
}Semantic roles & 50–950 ramp
primary
#3152C1
secondary
#CCBB82
accent
#BF45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83