#3150C0#3150C0
#3150C0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.179 H 267.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3150C0 |
|---|---|
| RGB | rgb(49, 80, 192) |
| HSL | hsl(227, 59%, 47%) |
| HSV | hsv(227, 74%, 75%) |
| CMYK | cmyk(74.5%, 58.3%, 0%, 24.7%) |
| CIE-LAB | lab(38.19, 28.24, -62.00) |
| CIE-LCH | lch(38.19, 68.13, 294.49°) |
| OKLab | oklab(47.78% -0.0084 -0.1789) |
| OKLCH | oklch(47.78% 0.179 267.3) |
| XYZ | xyz(13.6464, 10.1946, 51.1075) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.40
Blue Blue
#2242C7
ΔE00 4.34
Cobalt
#0047AB
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150C0 #C0A131
analogous
#3198C0 #3150C0 #5A31C0
triadic
#3150C0 #C03150 #50C031
tetradic
#3150C0 #C03198 #C0A131 #31C05A
square
#3150C0 #C03198 #C0A131 #31C05A
split-complementary
#3150C0 #C05A31 #98C031
monochromatic
#18275E #253C8F #3150C0 #5974D5 #8A9DE1
Accessibility & contrast
On white
6.91
#3150C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3150C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3150C0
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150C0 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3150c0; /* rgb */ color: rgb(49, 80, 192); /* oklch */ color: oklch(47.8% 0.179 267.3);
Tailwind
colors: {
custom: {
50: '#7d80d4',
500: '#3150c0',
950: '#000000',
},
}SCSS
$custom: #3150c0; $custom-light: #7d80d4; $custom-dark: #000000;
JSON
{
"hex": "#3150c0",
"rgb": {
"r": 49,
"g": 80,
"b": 192
},
"hsl": {
"h": 226.993,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.4778,
"c": 0.17915,
"h": 267.3
},
"luminance": 0.10196
}Semantic roles & 50–950 ramp
primary
#3150C0
secondary
#CBBB82
accent
#C045E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83