#2A4C8A#2A4C8A
#2A4C8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.111 H 261.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C8A |
|---|---|
| RGB | rgb(42, 76, 138) |
| HSL | hsl(219, 53%, 35%) |
| HSV | hsv(219, 70%, 54%) |
| CMYK | cmyk(69.6%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(32.91, 9.44, -38.24) |
| CIE-LCH | lch(32.91, 39.39, 283.87°) |
| OKLab | oklab(42.47% -0.0167 -0.1093) |
| OKLCH | oklch(42.47% 0.111 261.3) |
| XYZ | xyz(8.1251, 7.4953, 25.0584) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.71
Dusk Blue
#26538D
ΔE00 2.96
Darkish Blue
#014182
ΔE00 4.29
Light Navy
#155084
ΔE00 4.38
Twilight Blue
#0A437A
ΔE00 4.42
Cobalt
#0047AB
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C8A #8A682A
analogous
#2A7C8A #2A4C8A #382A8A
triadic
#2A4C8A #8A2A4C #4C8A2A
tetradic
#2A4C8A #8A2A7C #8A682A #2A8A38
square
#2A4C8A #8A2A7C #8A682A #2A8A38
split-complementary
#2A4C8A #8A382A #7C8A2A
monochromatic
#0D182C #1C325B #2A4C8A #3866B9 #6087CF
Accessibility & contrast
On white
8.40
#2A4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2A4C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C8A
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C8A | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a4c8a; /* rgb */ color: rgb(42, 76, 138); /* oklch */ color: oklch(42.5% 0.111 261.3);
Tailwind
colors: {
custom: {
50: '#6f7dac',
500: '#2a4c8a',
950: '#000000',
},
}SCSS
$custom: #2a4c8a; $custom-light: #6f7dac; $custom-dark: #000000;
JSON
{
"hex": "#2a4c8a",
"rgb": {
"r": 42,
"g": 76,
"b": 138
},
"hsl": {
"h": 218.75,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.42465,
"c": 0.11052,
"h": 261.3
},
"luminance": 0.07496
}Semantic roles & 50–950 ramp
primary
#2A4C8A
secondary
#B4955B
accent
#A94BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F