#2940A0#2940A0
#2940A0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.158 H 268.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2940A0 |
|---|---|
| RGB | rgb(41, 64, 160) |
| HSL | hsl(228, 59%, 39%) |
| HSV | hsv(228, 74%, 63%) |
| CMYK | cmyk(74.4%, 60%, 0%, 37.3%) |
| CIE-LAB | lab(31.06, 25.83, -54.64) |
| CIE-LCH | lch(31.06, 60.43, 295.31°) |
| OKLab | oklab(41.55% -0.0046 -0.1577) |
| OKLCH | oklch(41.55% 0.158 268.3) |
| XYZ | xyz(9.0908, 6.6753, 34.0602) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Cobalt
#0047AB
ΔE00 4.00
Blueberry
#464196
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2940A0 #A08929
analogous
#297CA0 #2940A0 #4D29A0
triadic
#2940A0 #A02940 #40A029
tetradic
#2940A0 #A0297C #A08929 #29A04D
square
#2940A0 #A0297C #A08929 #29A04D
split-complementary
#2940A0 #A04D29 #7CA029
monochromatic
#10193F #1D2D6F #2940A0 #3A56CC #6A80D9
Accessibility & contrast
On white
8.99
#2940A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2940A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2940A0
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2940A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2940A0 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2940a0; /* rgb */ color: rgb(41, 64, 160); /* oklch */ color: oklch(41.6% 0.158 268.3);
Tailwind
colors: {
custom: {
50: '#7474bd',
500: '#2940a0',
950: '#000000',
},
}SCSS
$custom: #2940a0; $custom-light: #7474bd; $custom-dark: #000000;
JSON
{
"hex": "#2940a0",
"rgb": {
"r": 41,
"g": 64,
"b": 160
},
"hsl": {
"h": 228.403,
"s": 59.204,
"l": 39.412
},
"oklch": {
"l": 0.41552,
"c": 0.15776,
"h": 268.3
},
"luminance": 0.06676
}Semantic roles & 50–950 ramp
primary
#2940A0
secondary
#BFAE65
accent
#C445E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81