#2955B1#2955B1
#2955B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.155 H 262.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2955B1 |
|---|---|
| RGB | rgb(41, 85, 177) |
| HSL | hsl(221, 62%, 43%) |
| HSV | hsv(221, 77%, 69%) |
| CMYK | cmyk(76.8%, 52%, 0%, 30.6%) |
| CIE-LAB | lab(38.09, 18.33, -53.36) |
| CIE-LCH | lch(38.09, 56.42, 288.96°) |
| OKLab | oklab(47.27% -0.0196 -0.1536) |
| OKLCH | oklch(47.27% 0.155 262.7) |
| XYZ | xyz(12.0959, 10.1414, 42.9064) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.74
Denim Blue
#3B5B92
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.59
Denim
#1560BD
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 4.87
Light Navy Blue
#2E5A88
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2955B1 #B18529
analogous
#2999B1 #2955B1 #4129B1
triadic
#2955B1 #B12955 #55B129
tetradic
#2955B1 #B12999 #B18529 #29B141
square
#2955B1 #B12999 #B18529 #29B141
split-complementary
#2955B1 #B14129 #99B129
monochromatic
#12254E #1D3D7F #2955B1 #4472D4 #7598DF
Accessibility & contrast
On white
6.93
#2955B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2955B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2955B1
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2955B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2955B1 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2955b1; /* rgb */ color: rgb(41, 85, 177); /* oklch */ color: oklch(47.3% 0.155 262.7);
Tailwind
colors: {
custom: {
50: '#7784c9',
500: '#2955b1',
950: '#000000',
},
}SCSS
$custom: #2955b1; $custom-light: #7784c9; $custom-dark: #000000;
JSON
{
"hex": "#2955b1",
"rgb": {
"r": 41,
"g": 85,
"b": 177
},
"hsl": {
"h": 220.588,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.47265,
"c": 0.15484,
"h": 262.7
},
"luminance": 0.10143
}Semantic roles & 50–950 ramp
primary
#2955B1
secondary
#C7AA6F
accent
#B142E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82