#3152C2#3152C2
#3152C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.179 H 266.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C2 |
|---|---|
| RGB | rgb(49, 82, 194) |
| HSL | hsl(226, 60%, 48%) |
| HSV | hsv(226, 75%, 76%) |
| CMYK | cmyk(74.7%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.87, 27.68, -62.07) |
| CIE-LCH | lch(38.87, 67.96, 294.04°) |
| OKLab | oklab(48.33% -0.0097 -0.1791) |
| OKLCH | oklch(48.33% 0.179 266.9) |
| XYZ | xyz(14.0181, 10.5811, 52.3320) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.25
Blue Blue
#2242C7
ΔE00 4.92
Warm Blue
#4B57DB
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.42
Blue (survey)
#0343DF
ΔE00 5.56
Azul
#1D5DEC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C2 #C2A131
analogous
#319AC2 #3152C2 #5931C2
triadic
#3152C2 #C23152 #52C231
tetradic
#3152C2 #C2319A #C2A131 #31C259
square
#3152C2 #C2319A #C2A131 #31C259
split-complementary
#3152C2 #C25931 #9AC231
monochromatic
#182960 #253D91 #3152C2 #5B77D6 #8C9FE2
Accessibility & contrast
On white
6.74
#3152C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3152C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C2
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C2 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3152c2; /* rgb */ color: rgb(49, 82, 194); /* oklch */ color: oklch(48.3% 0.179 266.9);
Tailwind
colors: {
custom: {
50: '#7e82d5',
500: '#3152c2',
950: '#000000',
},
}SCSS
$custom: #3152c2; $custom-light: #7e82d5; $custom-dark: #000000;
JSON
{
"hex": "#3152c2",
"rgb": {
"r": 49,
"g": 82,
"b": 194
},
"hsl": {
"h": 226.345,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.48334,
"c": 0.17937,
"h": 266.9
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#3152C2
secondary
#CCBB83
accent
#BF45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83