#2950BA#2950BA
#2950BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.173 H 265.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2950BA |
|---|---|
| RGB | rgb(41, 80, 186) |
| HSL | hsl(224, 64%, 45%) |
| HSV | hsv(224, 78%, 73%) |
| CMYK | cmyk(78%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.39, 25.09, -59.80) |
| CIE-LCH | lch(37.39, 64.84, 292.76°) |
| OKLab | oklab(46.95% -0.0151 -0.1726) |
| OKLCH | oklch(46.95% 0.173 265) |
| XYZ | xyz(12.6429, 9.7525, 47.6609) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.20
Cobalt
#0047AB
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 6.06
Cobalt (survey)
#1E488F
ΔE00 6.41
Denim Blue
#3B5B92
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950BA #BA9329
analogous
#2999BA #2950BA #4A29BA
triadic
#2950BA #BA2950 #50BA29
tetradic
#2950BA #BA2999 #BA9329 #29BA4A
square
#2950BA #BA2999 #BA9329 #29BA4A
split-complementary
#2950BA #BA4A29 #99BA29
monochromatic
#132556 #1E3A88 #2950BA #496FD7 #7B97E2
Accessibility & contrast
On white
7.12
#2950BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2950BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950BA
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950BA | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2950ba; /* rgb */ color: rgb(41, 80, 186); /* oklch */ color: oklch(46.9% 0.173 265.0);
Tailwind
colors: {
custom: {
50: '#7980d0',
500: '#2950ba',
950: '#000000',
},
}SCSS
$custom: #2950ba; $custom-light: #7980d0; $custom-dark: #000000;
JSON
{
"hex": "#2950ba",
"rgb": {
"r": 41,
"g": 80,
"b": 186
},
"hsl": {
"h": 223.862,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.46946,
"c": 0.17327,
"h": 265
},
"luminance": 0.09754
}Semantic roles & 50–950 ramp
primary
#2950BA
secondary
#CAB375
accent
#BA41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82