#2A4D9C#2A4D9C
#2A4D9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.135 H 263.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4D9C |
|---|---|
| RGB | rgb(42, 77, 156) |
| HSL | hsl(222, 58%, 39%) |
| HSV | hsv(222, 73%, 61%) |
| CMYK | cmyk(73.1%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.39, 15.69, -46.80) |
| CIE-LCH | lch(34.39, 49.37, 288.54°) |
| OKLab | oklab(43.99% -0.0147 -0.1344) |
| OKLCH | oklch(43.99% 0.135 263.8) |
| XYZ | xyz(9.6073, 8.1993, 32.5223) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.57
Cobalt
#0047AB
ΔE00 3.14
Dusk Blue
#26538D
ΔE00 3.80
Sapphire
#0F52BA
ΔE00 4.20
Denim Blue
#3B5B92
ΔE00 4.96
Light Navy
#155084
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4D9C #9C792A
analogous
#2A869C #2A4D9C #402A9C
triadic
#2A4D9C #9C2A4D #4D9C2A
tetradic
#2A4D9C #9C2A86 #9C792A #2A9C40
square
#2A4D9C #9C2A86 #9C792A #2A9C40
split-complementary
#2A4D9C #9C402A #869C2A
monochromatic
#101D3C #1D356C #2A4D9C #3966CA #6A8BD7
Accessibility & contrast
On white
7.95
#2A4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A4D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4D9C
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4D9C | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F569F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4d9c; /* rgb */ color: rgb(42, 77, 156); /* oklch */ color: oklch(44.0% 0.135 263.8);
Tailwind
colors: {
custom: {
50: '#737eba',
500: '#2a4d9c',
950: '#000000',
},
}SCSS
$custom: #2a4d9c; $custom-light: #737eba; $custom-dark: #000000;
JSON
{
"hex": "#2a4d9c",
"rgb": {
"r": 42,
"g": 77,
"b": 156
},
"hsl": {
"h": 221.579,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.43987,
"c": 0.13524,
"h": 263.8
},
"luminance": 0.082
}Semantic roles & 50–950 ramp
primary
#2A4D9C
secondary
#BDA265
accent
#B247E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81