#2950B9#2950B9
#2950B9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.172 H 264.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2950B9 |
|---|---|
| RGB | rgb(41, 80, 185) |
| HSL | hsl(224, 64%, 44%) |
| HSV | hsv(224, 78%, 73%) |
| CMYK | cmyk(77.8%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.32, 24.71, -59.33) |
| CIE-LCH | lch(37.32, 64.27, 292.61°) |
| OKLab | oklab(46.86% -0.0152 -0.1713) |
| OKLCH | oklch(46.86% 0.172 264.9) |
| XYZ | xyz(12.5370, 9.7101, 47.1030) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.15
Cobalt
#0047AB
ΔE00 3.87
Blue Blue
#2242C7
ΔE00 4.97
Blue (survey)
#0343DF
ΔE00 6.18
Cobalt (survey)
#1E488F
ΔE00 6.28
Denim Blue
#3B5B92
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950B9 #B99229
analogous
#2998B9 #2950B9 #4A29B9
triadic
#2950B9 #B92950 #50B929
tetradic
#2950B9 #B92998 #B99229 #29B94A
square
#2950B9 #B92998 #B99229 #29B94A
split-complementary
#2950B9 #B94A29 #98B929
monochromatic
#132555 #1E3A87 #2950B9 #496FD7 #7B97E2
Accessibility & contrast
On white
7.14
#2950B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2950B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950B9
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950B9 | 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)
#005FBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2950b9; /* rgb */ color: rgb(41, 80, 185); /* oklch */ color: oklch(46.9% 0.172 264.9);
Tailwind
colors: {
custom: {
50: '#7980cf',
500: '#2950b9',
950: '#000000',
},
}SCSS
$custom: #2950b9; $custom-light: #7980cf; $custom-dark: #000000;
JSON
{
"hex": "#2950b9",
"rgb": {
"r": 41,
"g": 80,
"b": 185
},
"hsl": {
"h": 223.75,
"s": 63.717,
"l": 44.314
},
"oklch": {
"l": 0.46864,
"c": 0.17193,
"h": 264.9
},
"luminance": 0.09712
}Semantic roles & 50–950 ramp
primary
#2950B9
secondary
#CAB374
accent
#BA41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82