#3050B5#3050B5
#3050B5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.165 H 266.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3050B5 |
|---|---|
| RGB | rgb(48, 80, 181) |
| HSL | hsl(226, 58%, 45%) |
| HSV | hsv(226, 73%, 71%) |
| CMYK | cmyk(73.5%, 55.8%, 0%, 29%) |
| CIE-LAB | lab(37.30, 24.02, -57.00) |
| CIE-LCH | lch(37.30, 61.85, 292.85°) |
| OKLab | oklab(46.84% -0.0097 -0.1643) |
| OKLCH | oklch(46.84% 0.165 266.6) |
| XYZ | xyz(12.4252, 9.7006, 44.9247) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.75
Cobalt
#0047AB
ΔE00 4.03
Blue Blue
#2242C7
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 6.13
Denim Blue
#3B5B92
ΔE00 6.14
Dusk Blue
#26538D
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3050B5 #B59530
analogous
#3093B5 #3050B5 #5330B5
triadic
#3050B5 #B53050 #50B530
tetradic
#3050B5 #B53093 #B59530 #30B553
square
#3050B5 #B53093 #B59530 #30B553
split-complementary
#3050B5 #B55330 #93B530
monochromatic
#162554 #233B85 #3050B5 #5170D1 #8298DE
Accessibility & contrast
On white
7.14
#3050B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#3050B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3050B5
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3050B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3050B5 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 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: #3050b5; /* rgb */ color: rgb(48, 80, 181); /* oklch */ color: oklch(46.8% 0.165 266.6);
Tailwind
colors: {
custom: {
50: '#7b80cc',
500: '#3050b5',
950: '#000000',
},
}SCSS
$custom: #3050b5; $custom-light: #7b80cc; $custom-dark: #000000;
JSON
{
"hex": "#3050b5",
"rgb": {
"r": 48,
"g": 80,
"b": 181
},
"hsl": {
"h": 225.564,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.46835,
"c": 0.16455,
"h": 266.6
},
"luminance": 0.09702
}Semantic roles & 50–950 ramp
primary
#3050B5
secondary
#C7B47A
accent
#BC46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82