#3150B0#3150B0
#3150B0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.157 H 266.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3150B0 |
|---|---|
| RGB | rgb(49, 80, 176) |
| HSL | hsl(225, 56%, 44%) |
| HSV | hsv(225, 72%, 69%) |
| CMYK | cmyk(72.2%, 54.5%, 0%, 31%) |
| CIE-LAB | lab(36.97, 22.28, -54.57) |
| CIE-LCH | lch(36.97, 58.94, 292.21°) |
| OKLab | oklab(46.48% -0.0092 -0.1571) |
| OKLCH | oklch(46.48% 0.157 266.7) |
| XYZ | xyz(11.9690, 9.5236, 42.2733) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Cobalt
#0047AB
ΔE00 3.83
Blue Blue
#2242C7
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150B0 #B09131
analogous
#3190B0 #3150B0 #5231B0
triadic
#3150B0 #B03150 #50B031
tetradic
#3150B0 #B03190 #B09131 #31B052
square
#3150B0 #B03190 #B09131 #31B052
split-complementary
#3150B0 #B05231 #90B031
monochromatic
#162450 #243A80 #3150B0 #506FCE #8096DC
Accessibility & contrast
On white
7.23
#3150B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#3150B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3150B0
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150B0 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015DB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3150b0; /* rgb */ color: rgb(49, 80, 176); /* oklch */ color: oklch(46.5% 0.157 266.7);
Tailwind
colors: {
custom: {
50: '#7a80c8',
500: '#3150b0',
950: '#000000',
},
}SCSS
$custom: #3150b0; $custom-light: #7a80c8; $custom-dark: #000000;
JSON
{
"hex": "#3150b0",
"rgb": {
"r": 49,
"g": 80,
"b": 176
},
"hsl": {
"h": 225.354,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.46484,
"c": 0.15737,
"h": 266.7
},
"luminance": 0.09525
}Semantic roles & 50–950 ramp
primary
#3150B0
secondary
#C5B278
accent
#BB48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82