#3152C6#3152C6
#3152C6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.185 H 267.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C6 |
|---|---|
| RGB | rgb(49, 82, 198) |
| HSL | hsl(227, 60%, 48%) |
| HSV | hsv(227, 75%, 78%) |
| CMYK | cmyk(75.3%, 58.6%, 0%, 22.4%) |
| CIE-LAB | lab(39.18, 29.16, -63.88) |
| CIE-LCH | lch(39.18, 70.23, 294.54°) |
| OKLab | oklab(48.67% -0.0096 -0.1844) |
| OKLCH | oklch(48.67% 0.185 267) |
| XYZ | xyz(14.4734, 10.7632, 54.7298) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 4.83
Blue (survey)
#0343DF
ΔE00 5.22
Azul
#1D5DEC
ΔE00 5.81
Cobalt
#0047AB
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C6 #C6A531
analogous
#319CC6 #3152C6 #5A31C6
triadic
#3152C6 #C63152 #52C631
tetradic
#3152C6 #C6319C #C6A531 #31C65A
square
#3152C6 #C6319C #C6A531 #31C65A
split-complementary
#3152C6 #C65A31 #9CC631
monochromatic
#192964 #253E95 #3152C6 #5D78D7 #8EA1E3
Accessibility & contrast
On white
6.66
#3152C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3152C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C6
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C6 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3152c6; /* rgb */ color: rgb(49, 82, 198); /* oklch */ color: oklch(48.7% 0.185 267.0);
Tailwind
colors: {
custom: {
50: '#7f82d8',
500: '#3152c6',
950: '#000000',
},
}SCSS
$custom: #3152c6; $custom-light: #7f82d8; $custom-dark: #000000;
JSON
{
"hex": "#3152c6",
"rgb": {
"r": 49,
"g": 82,
"b": 198
},
"hsl": {
"h": 226.711,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.48666,
"c": 0.1847,
"h": 267
},
"luminance": 0.10765
}Semantic roles & 50–950 ramp
primary
#3152C6
secondary
#CEBE85
accent
#C044E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83