#2945AF#2945AF
#2945AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.172 H 267.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2945AF |
|---|---|
| RGB | rgb(41, 69, 175) |
| HSL | hsl(227, 62%, 42%) |
| HSV | hsv(227, 77%, 69%) |
| CMYK | cmyk(76.6%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(33.61, 28.18, -59.47) |
| CIE-LCH | lch(33.61, 65.80, 295.36°) |
| OKLab | oklab(43.84% -0.008 -0.1718) |
| OKLCH | oklch(43.84% 0.172 267.3) |
| XYZ | xyz(10.7777, 7.8216, 41.4908) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Blue Blue
#2242C7
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 3.90
Sapphire
#0F52BA
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2945AF #AF9329
analogous
#2988AF #2945AF #5029AF
triadic
#2945AF #AF2945 #45AF29
tetradic
#2945AF #AF2988 #AF9329 #29AF50
square
#2945AF #AF2988 #AF9329 #29AF50
split-complementary
#2945AF #AF5029 #88AF29
monochromatic
#121E4C #1D317D #2945AF #4261D3 #748ADE
Accessibility & contrast
On white
8.19
#2945AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2945AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2945AF
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2945AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2945AF | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2945af; /* rgb */ color: rgb(41, 69, 175); /* oklch */ color: oklch(43.8% 0.172 267.3);
Tailwind
colors: {
custom: {
50: '#7778c8',
500: '#2945af',
950: '#000000',
},
}SCSS
$custom: #2945af; $custom-light: #7778c8; $custom-dark: #000000;
JSON
{
"hex": "#2945af",
"rgb": {
"r": 41,
"g": 69,
"b": 175
},
"hsl": {
"h": 227.463,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.43839,
"c": 0.172,
"h": 267.3
},
"luminance": 0.07823
}Semantic roles & 50–950 ramp
primary
#2945AF
secondary
#C6B36E
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82