#3150C5#3150C5
#3150C5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.186 H 267.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3150C5 |
|---|---|
| RGB | rgb(49, 80, 197) |
| HSL | hsl(227, 60%, 48%) |
| HSV | hsv(227, 75%, 77%) |
| CMYK | cmyk(75.1%, 59.4%, 0%, 22.7%) |
| CIE-LAB | lab(38.59, 30.09, -64.27) |
| CIE-LCH | lch(38.59, 70.96, 295.09°) |
| OKLab | oklab(48.2% -0.0083 -0.1856) |
| OKLCH | oklch(48.2% 0.186 267.5) |
| XYZ | xyz(14.2098, 10.4200, 54.0749) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.82
Blue Blue
#2242C7
ΔE00 4.20
Blue (survey)
#0343DF
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.55
Azul
#1D5DEC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150C5 #C5A631
analogous
#319AC5 #3150C5 #5C31C5
triadic
#3150C5 #C53150 #50C531
tetradic
#3150C5 #C5319A #C5A631 #31C55C
square
#3150C5 #C5319A #C5A631 #31C55C
split-complementary
#3150C5 #C55C31 #9AC531
monochromatic
#192863 #253C94 #3150C5 #5D76D7 #8E9FE3
Accessibility & contrast
On white
6.81
#3150C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3150C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3150C5
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150C5 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3150c5; /* rgb */ color: rgb(49, 80, 197); /* oklch */ color: oklch(48.2% 0.186 267.5);
Tailwind
colors: {
custom: {
50: '#7f80d7',
500: '#3150c5',
950: '#000000',
},
}SCSS
$custom: #3150c5; $custom-light: #7f80d7; $custom-dark: #000000;
JSON
{
"hex": "#3150c5",
"rgb": {
"r": 49,
"g": 80,
"b": 197
},
"hsl": {
"h": 227.432,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.48199,
"c": 0.18579,
"h": 267.5
},
"luminance": 0.10422
}Semantic roles & 50–950 ramp
primary
#3150C5
secondary
#CDBE85
accent
#C244E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83