#2A4E95#2A4E95
#2A4E95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.124 H 262.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E95 |
|---|---|
| RGB | rgb(42, 78, 149) |
| HSL | hsl(220, 56%, 37%) |
| HSV | hsv(220, 72%, 58%) |
| CMYK | cmyk(71.8%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.21, 12.33, -42.86) |
| CIE-LCH | lch(34.21, 44.60, 286.05°) |
| OKLab | oklab(43.7% -0.0166 -0.1228) |
| OKLCH | oklch(43.7% 0.124 262.3) |
| XYZ | xyz(9.1021, 8.1100, 29.5136) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.14
Dusk Blue
#26538D
ΔE00 2.85
Cobalt
#0047AB
ΔE00 3.94
Denim Blue
#3B5B92
ΔE00 4.41
Light Navy
#155084
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E95 #95712A
analogous
#2A8495 #2A4E95 #3B2A95
triadic
#2A4E95 #952A4E #4E952A
tetradic
#2A4E95 #952A84 #95712A #2A953B
square
#2A4E95 #952A84 #95712A #2A953B
split-complementary
#2A4E95 #953B2A #84952A
monochromatic
#0F1C36 #1D3565 #2A4E95 #3767C5 #668BD4
Accessibility & contrast
On white
8.01
#2A4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2A4E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E95
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E95 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4e95; /* rgb */ color: rgb(42, 78, 149); /* oklch */ color: oklch(43.7% 0.124 262.3);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#2a4e95',
950: '#000000',
},
}SCSS
$custom: #2a4e95; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#2a4e95",
"rgb": {
"r": 42,
"g": 78,
"b": 149
},
"hsl": {
"h": 219.813,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.43695,
"c": 0.12394,
"h": 262.3
},
"luminance": 0.08111
}Semantic roles & 50–950 ramp
primary
#2A4E95
secondary
#BA9C61
accent
#AD48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80