#3152C7#3152C7
#3152C7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.186 H 267.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C7 |
|---|---|
| RGB | rgb(49, 82, 199) |
| HSL | hsl(227, 60%, 49%) |
| HSV | hsv(227, 75%, 78%) |
| CMYK | cmyk(75.4%, 58.8%, 0%, 22%) |
| CIE-LAB | lab(39.26, 29.53, -64.34) |
| CIE-LCH | lch(39.26, 70.79, 294.66°) |
| OKLab | oklab(48.75% -0.0096 -0.1858) |
| OKLCH | oklch(48.75% 0.186 267) |
| XYZ | xyz(14.5891, 10.8095, 55.3393) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.72
Warm Blue
#4B57DB
ΔE00 4.58
Blue Blue
#2242C7
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 5.15
Azul
#1D5DEC
ΔE00 5.72
Cobalt
#0047AB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C7 #C7A631
analogous
#319DC7 #3152C7 #5B31C7
triadic
#3152C7 #C73152 #52C731
tetradic
#3152C7 #C7319D #C7A631 #31C75B
square
#3152C7 #C7319D #C7A631 #31C75B
split-complementary
#3152C7 #C75B31 #9DC731
monochromatic
#192A65 #253E96 #3152C7 #5E79D7 #8FA2E3
Accessibility & contrast
On white
6.64
#3152C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3152C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C7
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C7 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3152c7; /* rgb */ color: rgb(49, 82, 199); /* oklch */ color: oklch(48.8% 0.186 267.0);
Tailwind
colors: {
custom: {
50: '#7f82d9',
500: '#3152c7',
950: '#000000',
},
}SCSS
$custom: #3152c7; $custom-light: #7f82d9; $custom-dark: #000000;
JSON
{
"hex": "#3152c7",
"rgb": {
"r": 49,
"g": 82,
"b": 199
},
"hsl": {
"h": 226.8,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.4875,
"c": 0.18603,
"h": 267
},
"luminance": 0.10811
}Semantic roles & 50–950 ramp
primary
#3152C7
secondary
#CEBE86
accent
#C144E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83