#2955B6#2955B6
#2955B6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.162 H 263.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2955B6 |
|---|---|
| RGB | rgb(41, 85, 182) |
| HSL | hsl(221, 63%, 44%) |
| HSV | hsv(221, 77%, 71%) |
| CMYK | cmyk(77.5%, 53.3%, 0%, 28.6%) |
| CIE-LAB | lab(38.45, 20.25, -55.73) |
| CIE-LCH | lch(38.45, 59.29, 289.97°) |
| OKLab | oklab(47.65% -0.019 -0.1606) |
| OKLCH | oklch(47.65% 0.162 263.2) |
| XYZ | xyz(12.6034, 10.3444, 45.5793) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.60
Denim
#1560BD
ΔE00 4.67
Cobalt
#0047AB
ΔE00 4.75
Denim Blue
#3B5B92
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.53
Light Navy Blue
#2E5A88
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2955B6 #B68A29
analogous
#299BB6 #2955B6 #4329B6
triadic
#2955B6 #B62955 #55B629
tetradic
#2955B6 #B6299B #B68A29 #29B643
square
#2955B6 #B6299B #B68A29 #29B643
split-complementary
#2955B6 #B64329 #9BB629
monochromatic
#122652 #1E3E84 #2955B6 #4773D5 #7999E1
Accessibility & contrast
On white
6.84
#2955B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2955B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2955B6
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2955B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2955B6 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A61B9
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2955b6; /* rgb */ color: rgb(41, 85, 182); /* oklch */ color: oklch(47.7% 0.162 263.2);
Tailwind
colors: {
custom: {
50: '#7884cd',
500: '#2955b6',
950: '#000000',
},
}SCSS
$custom: #2955b6; $custom-light: #7884cd; $custom-dark: #000000;
JSON
{
"hex": "#2955b6",
"rgb": {
"r": 41,
"g": 85,
"b": 182
},
"hsl": {
"h": 221.277,
"s": 63.229,
"l": 43.725
},
"oklch": {
"l": 0.47652,
"c": 0.16168,
"h": 263.2
},
"luminance": 0.10346
}Semantic roles & 50–950 ramp
primary
#2955B6
secondary
#C9AE72
accent
#B342E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82