#3150C2#3150C2
#3150C2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.182 H 267.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3150C2 |
|---|---|
| RGB | rgb(49, 80, 194) |
| HSL | hsl(227, 60%, 48%) |
| HSV | hsv(227, 75%, 76%) |
| CMYK | cmyk(74.7%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(38.35, 28.98, -62.91) |
| CIE-LCH | lch(38.35, 69.27, 294.73°) |
| OKLab | oklab(47.95% -0.0083 -0.1816) |
| OKLCH | oklch(47.95% 0.182 267.4) |
| XYZ | xyz(13.8695, 10.2838, 52.2825) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.56
Blue Blue
#2242C7
ΔE00 4.27
Blue (survey)
#0343DF
ΔE00 5.07
Warm Blue
#4B57DB
ΔE00 5.23
Cobalt
#0047AB
ΔE00 5.23
Azul
#1D5DEC
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150C2 #C2A331
analogous
#3199C2 #3150C2 #5A31C2
triadic
#3150C2 #C23150 #50C231
tetradic
#3150C2 #C23199 #C2A331 #31C25A
square
#3150C2 #C23199 #C2A331 #31C25A
split-complementary
#3150C2 #C25A31 #99C231
monochromatic
#182860 #253C91 #3150C2 #5B75D6 #8C9EE2
Accessibility & contrast
On white
6.87
#3150C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3150C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3150C2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150C2 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3150c2; /* rgb */ color: rgb(49, 80, 194); /* oklch */ color: oklch(47.9% 0.182 267.4);
Tailwind
colors: {
custom: {
50: '#7e80d5',
500: '#3150c2',
950: '#000000',
},
}SCSS
$custom: #3150c2; $custom-light: #7e80d5; $custom-dark: #000000;
JSON
{
"hex": "#3150c2",
"rgb": {
"r": 49,
"g": 80,
"b": 194
},
"hsl": {
"h": 227.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.47947,
"c": 0.18181,
"h": 267.4
},
"luminance": 0.10285
}Semantic roles & 50–950 ramp
primary
#3150C2
secondary
#CCBC83
accent
#C145E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83