#2945B4#2945B4
#2945B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.179 H 267.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2945B4 |
|---|---|
| RGB | rgb(41, 69, 180) |
| HSL | hsl(228, 63%, 43%) |
| HSV | hsv(228, 77%, 71%) |
| CMYK | cmyk(77.2%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(34.03, 30.06, -61.75) |
| CIE-LCH | lch(34.03, 68.68, 295.96°) |
| OKLab | oklab(44.28% -0.008 -0.1785) |
| OKLCH | oklch(44.28% 0.179 267.4) |
| XYZ | xyz(11.2779, 8.0217, 44.1251) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.72
Cobalt
#0047AB
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2945B4 #B49829
analogous
#298AB4 #2945B4 #5329B4
triadic
#2945B4 #B42945 #45B429
tetradic
#2945B4 #B4298A #B49829 #29B453
square
#2945B4 #B4298A #B49829 #29B453
split-complementary
#2945B4 #B45329 #8AB429
monochromatic
#121F50 #1E3282 #2945B4 #4562D5 #778CE0
Accessibility & contrast
On white
8.06
#2945B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2945B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2945B4
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2945B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2945B4 | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2945b4; /* rgb */ color: rgb(41, 69, 180); /* oklch */ color: oklch(44.3% 0.179 267.4);
Tailwind
colors: {
custom: {
50: '#7978cb',
500: '#2945b4',
950: '#000000',
},
}SCSS
$custom: #2945b4; $custom-light: #7978cb; $custom-dark: #000000;
JSON
{
"hex": "#2945b4",
"rgb": {
"r": 41,
"g": 69,
"b": 180
},
"hsl": {
"h": 227.914,
"s": 62.896,
"l": 43.333
},
"oklch": {
"l": 0.44281,
"c": 0.17868,
"h": 267.4
},
"luminance": 0.08023
}Semantic roles & 50–950 ramp
primary
#2945B4
secondary
#C8B671
accent
#C542E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82