#2954B6#2954B6
#2954B6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2954B6 |
|---|---|
| RGB | rgb(41, 84, 182) |
| HSL | hsl(222, 63%, 44%) |
| HSV | hsv(222, 77%, 71%) |
| CMYK | cmyk(77.5%, 53.8%, 0%, 28.6%) |
| CIE-LAB | lab(38.18, 20.92, -56.17) |
| CIE-LCH | lch(38.18, 59.94, 290.42°) |
| OKLab | oklab(47.44% -0.0183 -0.1619) |
| OKLCH | oklch(47.44% 0.163 263.6) |
| XYZ | xyz(12.5253, 10.1880, 45.5533) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.55
Cobalt
#0047AB
ΔE00 4.49
Denim
#1560BD
ΔE00 5.01
Denim Blue
#3B5B92
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 5.60
Cobalt (survey)
#1E488F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2954B6 #B68B29
analogous
#299AB6 #2954B6 #4429B6
triadic
#2954B6 #B62954 #54B629
tetradic
#2954B6 #B6299A #B68B29 #29B644
square
#2954B6 #B6299A #B68B29 #29B644
split-complementary
#2954B6 #B64429 #9AB629
monochromatic
#122652 #1E3D84 #2954B6 #4772D5 #7998E1
Accessibility & contrast
On white
6.91
#2954B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2954B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2954B6
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2954B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2954B6 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0361B9
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2954b6; /* rgb */ color: rgb(41, 84, 182); /* oklch */ color: oklch(47.4% 0.163 263.6);
Tailwind
colors: {
custom: {
50: '#7883cd',
500: '#2954b6',
950: '#000000',
},
}SCSS
$custom: #2954b6; $custom-light: #7883cd; $custom-dark: #000000;
JSON
{
"hex": "#2954b6",
"rgb": {
"r": 41,
"g": 84,
"b": 182
},
"hsl": {
"h": 221.702,
"s": 63.229,
"l": 43.725
},
"oklch": {
"l": 0.47443,
"c": 0.16292,
"h": 263.6
},
"luminance": 0.10189
}Semantic roles & 50–950 ramp
primary
#2954B6
secondary
#C9AE72
accent
#B442E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82