#2A4E9C#2A4E9C
#2A4E9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.134 H 263.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E9C |
|---|---|
| RGB | rgb(42, 78, 156) |
| HSL | hsl(221, 58%, 39%) |
| HSV | hsv(221, 73%, 61%) |
| CMYK | cmyk(73.1%, 50%, 0%, 38.8%) |
| CIE-LAB | lab(34.68, 15.02, -46.34) |
| CIE-LCH | lch(34.68, 48.72, 287.96°) |
| OKLab | oklab(44.21% -0.0156 -0.1331) |
| OKLCH | oklch(44.21% 0.134 263.3) |
| XYZ | xyz(9.6779, 8.3403, 32.5458) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.68
Cobalt
#0047AB
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.06
Denim Blue
#3B5B92
ΔE00 4.65
Light Navy
#155084
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E9C #9C782A
analogous
#2A879C #2A4E9C #3F2A9C
triadic
#2A4E9C #9C2A4E #4E9C2A
tetradic
#2A4E9C #9C2A87 #9C782A #2A9C3F
square
#2A4E9C #9C2A87 #9C782A #2A9C3F
split-complementary
#2A4E9C #9C3F2A #879C2A
monochromatic
#101E3C #1D366C #2A4E9C #3967CA #6A8CD7
Accessibility & contrast
On white
7.87
#2A4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A4E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E9C
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E9C | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4e9c; /* rgb */ color: rgb(42, 78, 156); /* oklch */ color: oklch(44.2% 0.134 263.3);
Tailwind
colors: {
custom: {
50: '#737fba',
500: '#2a4e9c',
950: '#000000',
},
}SCSS
$custom: #2a4e9c; $custom-light: #737fba; $custom-dark: #000000;
JSON
{
"hex": "#2a4e9c",
"rgb": {
"r": 42,
"g": 78,
"b": 156
},
"hsl": {
"h": 221.053,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.44206,
"c": 0.13397,
"h": 263.3
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#2A4E9C
secondary
#BDA165
accent
#B047E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81