#2955B7#2955B7
#2955B7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.163 H 263.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2955B7 |
|---|---|
| RGB | rgb(41, 85, 183) |
| HSL | hsl(221, 63%, 44%) |
| HSV | hsv(221, 78%, 72%) |
| CMYK | cmyk(77.6%, 53.6%, 0%, 28.2%) |
| CIE-LAB | lab(38.53, 20.64, -56.20) |
| CIE-LCH | lch(38.53, 59.87, 290.17°) |
| OKLab | oklab(47.73% -0.019 -0.1619) |
| OKLCH | oklch(47.73% 0.163 263.3) |
| XYZ | xyz(12.7071, 10.3859, 46.1255) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.61
Denim
#1560BD
ΔE00 4.69
Cobalt
#0047AB
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 5.66
Light Navy Blue
#2E5A88
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2955B7 #B78B29
analogous
#299CB7 #2955B7 #4429B7
triadic
#2955B7 #B72955 #55B729
tetradic
#2955B7 #B7299C #B78B29 #29B744
square
#2955B7 #B7299C #B78B29 #29B744
split-complementary
#2955B7 #B74429 #9CB729
monochromatic
#132753 #1E3E85 #2955B7 #4774D6 #7999E1
Accessibility & contrast
On white
6.82
#2955B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2955B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2955B7
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2955B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2955B7 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0762BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2955b7; /* rgb */ color: rgb(41, 85, 183); /* oklch */ color: oklch(47.7% 0.163 263.3);
Tailwind
colors: {
custom: {
50: '#7884cd',
500: '#2955b7',
950: '#000000',
},
}SCSS
$custom: #2955b7; $custom-light: #7884cd; $custom-dark: #000000;
JSON
{
"hex": "#2955b7",
"rgb": {
"r": 41,
"g": 85,
"b": 183
},
"hsl": {
"h": 221.408,
"s": 63.393,
"l": 43.922
},
"oklch": {
"l": 0.4773,
"c": 0.16304,
"h": 263.3
},
"luminance": 0.10387
}Semantic roles & 50–950 ramp
primary
#2955B7
secondary
#C9AE73
accent
#B341E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82