#2950B0#2950B0
#2950B0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.160 H 264.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2950B0 |
|---|---|
| RGB | rgb(41, 80, 176) |
| HSL | hsl(223, 62%, 43%) |
| HSV | hsv(223, 77%, 69%) |
| CMYK | cmyk(76.7%, 54.5%, 0%, 31%) |
| CIE-LAB | lab(36.63, 21.26, -55.14) |
| CIE-LCH | lch(36.63, 59.09, 291.09°) |
| OKLab | oklab(46.13% -0.0158 -0.1589) |
| OKLCH | oklch(46.13% 0.16 264.3) |
| XYZ | xyz(11.6168, 9.3420, 42.2568) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.07
Cobalt
#0047AB
ΔE00 3.28
Cobalt (survey)
#1E488F
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950B0 #B08929
analogous
#2993B0 #2950B0 #4629B0
triadic
#2950B0 #B02950 #50B029
tetradic
#2950B0 #B02993 #B08929 #29B046
square
#2950B0 #B02993 #B08929 #29B046
split-complementary
#2950B0 #B04629 #93B029
monochromatic
#12234D #1D397E #2950B0 #436DD3 #7593DF
Accessibility & contrast
On white
7.32
#2950B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2950B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950B0
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950B0 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2950b0; /* rgb */ color: rgb(41, 80, 176); /* oklch */ color: oklch(46.1% 0.160 264.3);
Tailwind
colors: {
custom: {
50: '#7780c8',
500: '#2950b0',
950: '#000000',
},
}SCSS
$custom: #2950b0; $custom-light: #7780c8; $custom-dark: #000000;
JSON
{
"hex": "#2950b0",
"rgb": {
"r": 41,
"g": 80,
"b": 176
},
"hsl": {
"h": 222.667,
"s": 62.212,
"l": 42.549
},
"oklch": {
"l": 0.46134,
"c": 0.1597,
"h": 264.3
},
"luminance": 0.09343
}Semantic roles & 50–950 ramp
primary
#2950B0
secondary
#C6AD6F
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82