#2950B6#2950B6
#2950B6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.168 H 264.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2950B6 |
|---|---|
| RGB | rgb(41, 80, 182) |
| HSL | hsl(223, 63%, 44%) |
| HSV | hsv(223, 77%, 71%) |
| CMYK | cmyk(77.5%, 56%, 0%, 28.6%) |
| CIE-LAB | lab(37.09, 23.56, -57.94) |
| CIE-LCH | lch(37.09, 62.55, 292.13°) |
| OKLab | oklab(46.62% -0.0154 -0.1672) |
| OKLCH | oklch(46.62% 0.168 264.7) |
| XYZ | xyz(12.2236, 9.5847, 45.4527) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.04
Cobalt
#0047AB
ΔE00 3.63
Blue Blue
#2242C7
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 6.07
Dusk Blue
#26538D
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950B6 #B68F29
analogous
#2996B6 #2950B6 #4829B6
triadic
#2950B6 #B62950 #50B629
tetradic
#2950B6 #B62996 #B68F29 #29B648
square
#2950B6 #B62996 #B68F29 #29B648
split-complementary
#2950B6 #B64829 #96B629
monochromatic
#122452 #1E3A84 #2950B6 #476ED5 #7995E1
Accessibility & contrast
On white
7.20
#2950B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2950B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950B6
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950B6 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2950b6; /* rgb */ color: rgb(41, 80, 182); /* oklch */ color: oklch(46.6% 0.168 264.7);
Tailwind
colors: {
custom: {
50: '#7880cd',
500: '#2950b6',
950: '#000000',
},
}SCSS
$custom: #2950b6; $custom-light: #7880cd; $custom-dark: #000000;
JSON
{
"hex": "#2950b6",
"rgb": {
"r": 41,
"g": 80,
"b": 182
},
"hsl": {
"h": 223.404,
"s": 63.229,
"l": 43.725
},
"oklch": {
"l": 0.46618,
"c": 0.16788,
"h": 264.7
},
"luminance": 0.09586
}Semantic roles & 50–950 ramp
primary
#2950B6
secondary
#C9B172
accent
#B942E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82