#2A4E99#2A4E99
#2A4E99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.130 H 262.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E99 |
|---|---|
| RGB | rgb(42, 78, 153) |
| HSL | hsl(221, 57%, 38%) |
| HSV | hsv(221, 73%, 60%) |
| CMYK | cmyk(72.5%, 49%, 0%, 40%) |
| CIE-LAB | lab(34.48, 13.87, -44.86) |
| CIE-LCH | lch(34.48, 46.95, 287.18°) |
| OKLab | oklab(43.99% -0.016 -0.1287) |
| OKLCH | oklch(43.99% 0.13 262.9) |
| XYZ | xyz(9.4270, 8.2399, 31.2245) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Dusk Blue
#26538D
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.56
Sapphire
#0F52BA
ΔE00 4.38
Denim Blue
#3B5B92
ΔE00 4.53
Light Navy
#155084
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E99 #99752A
analogous
#2A8599 #2A4E99 #3E2A99
triadic
#2A4E99 #992A4E #4E992A
tetradic
#2A4E99 #992A85 #99752A #2A993E
square
#2A4E99 #992A85 #99752A #2A993E
split-complementary
#2A4E99 #993E2A #85992A
monochromatic
#101D39 #1D3669 #2A4E99 #3867C8 #688BD6
Accessibility & contrast
On white
7.93
#2A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A4E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E99
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E99 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25569C
Deuteranopia (green-blind)
#054C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4e99; /* rgb */ color: rgb(42, 78, 153); /* oklch */ color: oklch(44.0% 0.130 262.9);
Tailwind
colors: {
custom: {
50: '#727fb7',
500: '#2a4e99',
950: '#000000',
},
}SCSS
$custom: #2a4e99; $custom-light: #727fb7; $custom-dark: #000000;
JSON
{
"hex": "#2a4e99",
"rgb": {
"r": 42,
"g": 78,
"b": 153
},
"hsl": {
"h": 220.541,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.43985,
"c": 0.12968,
"h": 262.9
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#2A4E99
secondary
#BC9F63
accent
#AF48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80