#2955AB#2955AB
#2955AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.147 H 262.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2955AB |
|---|---|
| RGB | rgb(41, 85, 171) |
| HSL | hsl(220, 61%, 42%) |
| HSV | hsv(220, 76%, 67%) |
| CMYK | cmyk(76%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(37.68, 16.02, -50.49) |
| CIE-LCH | lch(37.68, 52.97, 287.60°) |
| OKLab | oklab(46.81% -0.0203 -0.1451) |
| OKLCH | oklch(46.81% 0.147 262) |
| XYZ | xyz(11.5110, 9.9074, 39.8258) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.20
Denim Blue
#3B5B92
ΔE00 3.96
Dusk Blue
#26538D
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.55
Denim
#1560BD
ΔE00 4.69
Light Navy Blue
#2E5A88
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2955AB #AB7F29
analogous
#2996AB #2955AB #3E29AB
triadic
#2955AB #AB2955 #55AB29
tetradic
#2955AB #AB2996 #AB7F29 #29AB3E
square
#2955AB #AB2996 #AB7F29 #29AB3E
split-complementary
#2955AB #AB3E29 #96AB29
monochromatic
#112448 #1D3C7A #2955AB #4071D1 #7196DD
Accessibility & contrast
On white
7.04
#2955AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2955AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2955AB
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2955AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2955AB | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2955ab; /* rgb */ color: rgb(41, 85, 171); /* oklch */ color: oklch(46.8% 0.147 262.0);
Tailwind
colors: {
custom: {
50: '#7684c5',
500: '#2955ab',
950: '#000000',
},
}SCSS
$custom: #2955ab; $custom-light: #7684c5; $custom-dark: #000000;
JSON
{
"hex": "#2955ab",
"rgb": {
"r": 41,
"g": 85,
"b": 171
},
"hsl": {
"h": 219.692,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.46812,
"c": 0.14656,
"h": 262
},
"luminance": 0.09909
}Semantic roles & 50–950 ramp
primary
#2955AB
secondary
#C4A66C
accent
#AE43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82