#2945AB#2945AB
#2945AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.167 H 267.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2945AB |
|---|---|
| RGB | rgb(41, 69, 171) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 76%, 67%) |
| CMYK | cmyk(76%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.28, 26.67, -57.62) |
| CIE-LCH | lch(33.28, 63.49, 294.84°) |
| OKLab | oklab(43.49% -0.008 -0.1664) |
| OKLCH | oklch(43.49% 0.167 267.2) |
| XYZ | xyz(10.3907, 7.6668, 39.4524) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.97
Sapphire (survey)
#2138AB
ΔE00 3.97
Blue Blue
#2242C7
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.25
Blueberry
#464196
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2945AB #AB8F29
analogous
#2986AB #2945AB #4E29AB
triadic
#2945AB #AB2945 #45AB29
tetradic
#2945AB #AB2986 #AB8F29 #29AB4E
square
#2945AB #AB2986 #AB8F29 #29AB4E
split-complementary
#2945AB #AB4E29 #86AB29
monochromatic
#111D48 #1D317A #2945AB #405FD1 #7189DD
Accessibility & contrast
On white
8.29
#2945AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2945AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2945AB
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2945AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2945AB | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2945ab; /* rgb */ color: rgb(41, 69, 171); /* oklch */ color: oklch(43.5% 0.167 267.2);
Tailwind
colors: {
custom: {
50: '#7778c5',
500: '#2945ab',
950: '#000000',
},
}SCSS
$custom: #2945ab; $custom-light: #7778c5; $custom-dark: #000000;
JSON
{
"hex": "#2945ab",
"rgb": {
"r": 41,
"g": 69,
"b": 171
},
"hsl": {
"h": 227.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.43491,
"c": 0.16658,
"h": 267.2
},
"luminance": 0.07668
}Semantic roles & 50–950 ramp
primary
#2945AB
secondary
#C4B16C
accent
#C243E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82