#2950B1#2950B1
#2950B1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.161 H 264.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2950B1 |
|---|---|
| RGB | rgb(41, 80, 177) |
| HSL | hsl(223, 62%, 43%) |
| HSV | hsv(223, 77%, 69%) |
| CMYK | cmyk(76.8%, 54.8%, 0%, 30.6%) |
| CIE-LAB | lab(36.71, 21.64, -55.61) |
| CIE-LCH | lch(36.71, 59.67, 291.27°) |
| OKLab | oklab(46.21% -0.0157 -0.1603) |
| OKLCH | oklch(46.21% 0.161 264.4) |
| XYZ | xyz(11.7161, 9.3817, 42.7798) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.04
Cobalt
#0047AB
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 5.45
Denim Blue
#3B5B92
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950B1 #B18A29
analogous
#2994B1 #2950B1 #4629B1
triadic
#2950B1 #B12950 #50B129
tetradic
#2950B1 #B12994 #B18A29 #29B146
square
#2950B1 #B12994 #B18A29 #29B146
split-complementary
#2950B1 #B14629 #94B129
monochromatic
#12234E #1D3A7F #2950B1 #446DD4 #7594DF
Accessibility & contrast
On white
7.30
#2950B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2950B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950B1
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950B1 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2950b1; /* rgb */ color: rgb(41, 80, 177); /* oklch */ color: oklch(46.2% 0.161 264.4);
Tailwind
colors: {
custom: {
50: '#7780c9',
500: '#2950b1',
950: '#000000',
},
}SCSS
$custom: #2950b1; $custom-light: #7780c9; $custom-dark: #000000;
JSON
{
"hex": "#2950b1",
"rgb": {
"r": 41,
"g": 80,
"b": 177
},
"hsl": {
"h": 222.794,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.46214,
"c": 0.16107,
"h": 264.4
},
"luminance": 0.09383
}Semantic roles & 50–950 ramp
primary
#2950B1
secondary
#C7AE6F
accent
#B742E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82