#3150BB#3150BB
#3150BB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.172 H 267.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3150BB |
|---|---|
| RGB | rgb(49, 80, 187) |
| HSL | hsl(227, 58%, 46%) |
| HSV | hsv(227, 74%, 73%) |
| CMYK | cmyk(73.8%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(37.80, 26.39, -59.71) |
| CIE-LCH | lch(37.80, 65.28, 293.84°) |
| OKLab | oklab(47.37% -0.0085 -0.1722) |
| OKLCH | oklch(47.37% 0.172 267.2) |
| XYZ | xyz(13.1018, 9.9767, 48.2393) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Cobalt
#0047AB
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.79
Warm Blue
#4B57DB
ΔE00 6.04
Denim Blue
#3B5B92
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150BB #BB9C31
analogous
#3195BB #3150BB #5731BB
triadic
#3150BB #BB3150 #50BB31
tetradic
#3150BB #BB3195 #BB9C31 #31BB57
square
#3150BB #BB3195 #BB9C31 #31BB57
split-complementary
#3150BB #BB5731 #95BB31
monochromatic
#18275A #243B8B #3150BB #5672D3 #879BE0
Accessibility & contrast
On white
7.01
#3150BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#3150BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3150BB
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150BB | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3150bb; /* rgb */ color: rgb(49, 80, 187); /* oklch */ color: oklch(47.4% 0.172 267.2);
Tailwind
colors: {
custom: {
50: '#7c80d0',
500: '#3150bb',
950: '#000000',
},
}SCSS
$custom: #3150bb; $custom-light: #7c80d0; $custom-dark: #000000;
JSON
{
"hex": "#3150bb",
"rgb": {
"r": 49,
"g": 80,
"b": 187
},
"hsl": {
"h": 226.522,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.47367,
"c": 0.17242,
"h": 267.2
},
"luminance": 0.09978
}Semantic roles & 50–950 ramp
primary
#3150BB
secondary
#C9B87F
accent
#BF46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82