#2950B2#2950B2
#2950B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.162 H 264.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2950B2 |
|---|---|
| RGB | rgb(41, 80, 178) |
| HSL | hsl(223, 63%, 43%) |
| HSV | hsv(223, 77%, 70%) |
| CMYK | cmyk(77%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(36.78, 22.03, -56.08) |
| CIE-LCH | lch(36.78, 60.25, 291.45°) |
| OKLab | oklab(46.29% -0.0157 -0.1617) |
| OKLCH | oklch(46.29% 0.162 264.5) |
| XYZ | xyz(11.8161, 9.4218, 43.3067) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.02
Cobalt
#0047AB
ΔE00 3.38
Cobalt (survey)
#1E488F
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 5.59
Denim Blue
#3B5B92
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950B2 #B28B29
analogous
#2994B2 #2950B2 #4729B2
triadic
#2950B2 #B22950 #50B229
tetradic
#2950B2 #B22994 #B28B29 #29B247
square
#2950B2 #B22994 #B28B29 #29B247
split-complementary
#2950B2 #B24729 #94B229
monochromatic
#12234F #1E3A80 #2950B2 #446DD4 #7694DF
Accessibility & contrast
On white
7.28
#2950B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2950B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950B2
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950B2 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2950b2; /* rgb */ color: rgb(41, 80, 178); /* oklch */ color: oklch(46.3% 0.162 264.5);
Tailwind
colors: {
custom: {
50: '#7780ca',
500: '#2950b2',
950: '#000000',
},
}SCSS
$custom: #2950b2; $custom-light: #7780ca; $custom-dark: #000000;
JSON
{
"hex": "#2950b2",
"rgb": {
"r": 41,
"g": 80,
"b": 178
},
"hsl": {
"h": 222.92,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.46294,
"c": 0.16244,
"h": 264.5
},
"luminance": 0.09423
}Semantic roles & 50–950 ramp
primary
#2950B2
secondary
#C7AE70
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82