#3152C0#3152C0
#3152C0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.177 H 266.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3152C0 |
|---|---|
| RGB | rgb(49, 82, 192) |
| HSL | hsl(226, 59%, 47%) |
| HSV | hsv(226, 74%, 75%) |
| CMYK | cmyk(74.5%, 57.3%, 0%, 24.7%) |
| CIE-LAB | lab(38.71, 26.94, -61.15) |
| CIE-LCH | lch(38.71, 66.82, 293.78°) |
| OKLab | oklab(48.17% -0.0098 -0.1764) |
| OKLCH | oklch(48.17% 0.177 266.8) |
| XYZ | xyz(13.7950, 10.4918, 51.1570) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.09
Blue Blue
#2242C7
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.24
Warm Blue
#4B57DB
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 5.74
Azul
#1D5DEC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152C0 #C09F31
analogous
#3199C0 #3152C0 #5831C0
triadic
#3152C0 #C03152 #52C031
tetradic
#3152C0 #C03199 #C09F31 #31C058
square
#3152C0 #C03199 #C09F31 #31C058
split-complementary
#3152C0 #C05831 #99C031
monochromatic
#18285E #253D8F #3152C0 #5976D5 #8A9EE1
Accessibility & contrast
On white
6.78
#3152C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3152C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152C0
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152C0 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3152c0; /* rgb */ color: rgb(49, 82, 192); /* oklch */ color: oklch(48.2% 0.177 266.8);
Tailwind
colors: {
custom: {
50: '#7d82d4',
500: '#3152c0',
950: '#000000',
},
}SCSS
$custom: #3152c0; $custom-light: #7d82d4; $custom-dark: #000000;
JSON
{
"hex": "#3152c0",
"rgb": {
"r": 49,
"g": 82,
"b": 192
},
"hsl": {
"h": 226.154,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.4817,
"c": 0.17669,
"h": 266.8
},
"luminance": 0.10493
}Semantic roles & 50–950 ramp
primary
#3152C0
secondary
#CBBA82
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83