#2945AE#2945AE
#2945AE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.171 H 267.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2945AE |
|---|---|
| RGB | rgb(41, 69, 174) |
| HSL | hsl(227, 62%, 42%) |
| HSV | hsv(227, 76%, 68%) |
| CMYK | cmyk(76.4%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.53, 27.80, -59.01) |
| CIE-LCH | lch(33.53, 65.23, 295.23°) |
| OKLab | oklab(43.75% -0.008 -0.1705) |
| OKLCH | oklch(43.75% 0.171 267.3) |
| XYZ | xyz(10.6799, 7.7825, 40.9755) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 3.55
Sapphire (survey)
#2138AB
ΔE00 3.91
Sapphire
#0F52BA
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.57
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2945AE #AE9229
analogous
#2988AE #2945AE #4F29AE
triadic
#2945AE #AE2945 #45AE29
tetradic
#2945AE #AE2988 #AE9229 #29AE4F
square
#2945AE #AE2988 #AE9229 #29AE4F
split-complementary
#2945AE #AE4F29 #88AE29
monochromatic
#121E4B #1D317C #2945AE #4260D2 #738ADE
Accessibility & contrast
On white
8.21
#2945AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2945AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2945AE
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2945AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2945AE | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2945ae; /* rgb */ color: rgb(41, 69, 174); /* oklch */ color: oklch(43.8% 0.171 267.3);
Tailwind
colors: {
custom: {
50: '#7778c7',
500: '#2945ae',
950: '#000000',
},
}SCSS
$custom: #2945ae; $custom-light: #7778c7; $custom-dark: #000000;
JSON
{
"hex": "#2945ae",
"rgb": {
"r": 41,
"g": 69,
"b": 174
},
"hsl": {
"h": 227.368,
"s": 61.86,
"l": 42.157
},
"oklch": {
"l": 0.43751,
"c": 0.17065,
"h": 267.3
},
"luminance": 0.07784
}Semantic roles & 50–950 ramp
primary
#2945AE
secondary
#C5B36D
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82