#3150B5#3150B5
#3150B5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.164 H 266.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3150B5 |
|---|---|
| RGB | rgb(49, 80, 181) |
| HSL | hsl(226, 57%, 45%) |
| HSV | hsv(226, 73%, 71%) |
| CMYK | cmyk(72.9%, 55.8%, 0%, 29%) |
| CIE-LAB | lab(37.34, 24.15, -56.92) |
| CIE-LCH | lch(37.34, 61.83, 292.99°) |
| OKLab | oklab(46.88% -0.0088 -0.164) |
| OKLCH | oklch(46.88% 0.164 266.9) |
| XYZ | xyz(12.4729, 9.7252, 44.9269) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Cobalt
#0047AB
ΔE00 4.11
Blue Blue
#2242C7
ΔE00 5.04
Denim Blue
#3B5B92
ΔE00 6.17
Cobalt (survey)
#1E488F
ΔE00 6.19
Blue (survey)
#0343DF
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150B5 #B59631
analogous
#3192B5 #3150B5 #5431B5
triadic
#3150B5 #B53150 #50B531
tetradic
#3150B5 #B53192 #B59631 #31B554
square
#3150B5 #B53192 #B59631 #31B554
split-complementary
#3150B5 #B55431 #92B531
monochromatic
#172555 #243B85 #3150B5 #5370D0 #8398DD
Accessibility & contrast
On white
7.13
#3150B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#3150B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3150B5
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150B5 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3150b5; /* rgb */ color: rgb(49, 80, 181); /* oklch */ color: oklch(46.9% 0.164 266.9);
Tailwind
colors: {
custom: {
50: '#7b80cc',
500: '#3150b5',
950: '#000000',
},
}SCSS
$custom: #3150b5; $custom-light: #7b80cc; $custom-dark: #000000;
JSON
{
"hex": "#3150b5",
"rgb": {
"r": 49,
"g": 80,
"b": 181
},
"hsl": {
"h": 225.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.46881,
"c": 0.16426,
"h": 266.9
},
"luminance": 0.09726
}Semantic roles & 50–950 ramp
primary
#3150B5
secondary
#C7B57B
accent
#BD47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82