#2A4E9B#2A4E9B
#2A4E9B is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.133 H 263.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E9B |
|---|---|
| RGB | rgb(42, 78, 155) |
| HSL | hsl(221, 57%, 39%) |
| HSV | hsv(221, 73%, 61%) |
| CMYK | cmyk(72.9%, 49.7%, 0%, 39.2%) |
| CIE-LAB | lab(34.61, 14.64, -45.85) |
| CIE-LCH | lch(34.61, 48.13, 287.71°) |
| OKLab | oklab(44.13% -0.0157 -0.1316) |
| OKLCH | oklch(44.13% 0.133 263.2) |
| XYZ | xyz(9.5935, 8.3066, 32.1017) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.58
Cobalt
#0047AB
ΔE00 3.39
Dusk Blue
#26538D
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.61
Light Navy
#155084
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E9B #9B772A
analogous
#2A869B #2A4E9B #3E2A9B
triadic
#2A4E9B #9B2A4E #4E9B2A
tetradic
#2A4E9B #9B2A86 #9B772A #2A9B3E
square
#2A4E9B #9B2A86 #9B772A #2A9B3E
split-complementary
#2A4E9B #9B3E2A #869B2A
monochromatic
#101E3B #1D366B #2A4E9B #3967C9 #698CD6
Accessibility & contrast
On white
7.89
#2A4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A4E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E9B
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E9B | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4e9b; /* rgb */ color: rgb(42, 78, 155); /* oklch */ color: oklch(44.1% 0.133 263.2);
Tailwind
colors: {
custom: {
50: '#737fb9',
500: '#2a4e9b',
950: '#000000',
},
}SCSS
$custom: #2a4e9b; $custom-light: #737fb9; $custom-dark: #000000;
JSON
{
"hex": "#2a4e9b",
"rgb": {
"r": 42,
"g": 78,
"b": 155
},
"hsl": {
"h": 220.885,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.44132,
"c": 0.13253,
"h": 263.2
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#2A4E9B
secondary
#BDA164
accent
#B047E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80