#2955B8#2955B8
#2955B8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.164 H 263.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2955B8 |
|---|---|
| RGB | rgb(41, 85, 184) |
| HSL | hsl(222, 64%, 44%) |
| HSV | hsv(222, 78%, 72%) |
| CMYK | cmyk(77.7%, 53.8%, 0%, 27.8%) |
| CIE-LAB | lab(38.60, 21.02, -56.67) |
| CIE-LCH | lch(38.60, 60.44, 290.36°) |
| OKLab | oklab(47.81% -0.0188 -0.1633) |
| OKLCH | oklch(47.81% 0.164 263.4) |
| XYZ | xyz(12.8116, 10.4276, 46.6756) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.63
Denim
#1560BD
ΔE00 4.71
Cobalt
#0047AB
ΔE00 4.84
Denim Blue
#3B5B92
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.79
Light Navy Blue
#2E5A88
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2955B8 #B88C29
analogous
#299DB8 #2955B8 #4429B8
triadic
#2955B8 #B82955 #55B829
tetradic
#2955B8 #B8299D #B88C29 #29B844
square
#2955B8 #B8299D #B88C29 #29B844
split-complementary
#2955B8 #B84429 #9DB829
monochromatic
#132754 #1E3E86 #2955B8 #4874D6 #7A9AE1
Accessibility & contrast
On white
6.81
#2955B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2955B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2955B8
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2955B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2955B8 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0362BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2955b8; /* rgb */ color: rgb(41, 85, 184); /* oklch */ color: oklch(47.8% 0.164 263.4);
Tailwind
colors: {
custom: {
50: '#7984ce',
500: '#2955b8',
950: '#000000',
},
}SCSS
$custom: #2955b8; $custom-light: #7984ce; $custom-dark: #000000;
JSON
{
"hex": "#2955b8",
"rgb": {
"r": 41,
"g": 85,
"b": 184
},
"hsl": {
"h": 221.538,
"s": 63.556,
"l": 44.118
},
"oklch": {
"l": 0.47808,
"c": 0.1644,
"h": 263.4
},
"luminance": 0.10429
}Semantic roles & 50–950 ramp
primary
#2955B8
secondary
#C9AF73
accent
#B441E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82