#2A4C8E#2A4C8E
#2A4C8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.116 H 262.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C8E |
|---|---|
| RGB | rgb(42, 76, 142) |
| HSL | hsl(220, 54%, 36%) |
| HSV | hsv(220, 70%, 56%) |
| CMYK | cmyk(70.4%, 46.5%, 0%, 44.3%) |
| CIE-LAB | lab(33.16, 10.98, -40.28) |
| CIE-LCH | lch(33.16, 41.75, 285.24°) |
| OKLab | oklab(42.74% -0.0159 -0.1153) |
| OKLCH | oklch(42.74% 0.116 262.1) |
| XYZ | xyz(8.4200, 7.6133, 26.6117) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.57
Dusk Blue
#26538D
ΔE00 3.10
Cobalt
#0047AB
ΔE00 4.42
Darkish Blue
#014182
ΔE00 4.49
Light Navy
#155084
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C8E #8E6C2A
analogous
#2A7E8E #2A4C8E #3A2A8E
triadic
#2A4C8E #8E2A4C #4C8E2A
tetradic
#2A4C8E #8E2A7E #8E6C2A #2A8E3A
square
#2A4C8E #8E2A7E #8E6C2A #2A8E3A
split-complementary
#2A4C8E #8E3A2A #7E8E2A
monochromatic
#0E1930 #1C335F #2A4C8E #3865BD #6287D1
Accessibility & contrast
On white
8.32
#2A4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2A4C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C8E
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C8E | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a4c8e; /* rgb */ color: rgb(42, 76, 142); /* oklch */ color: oklch(42.7% 0.116 262.1);
Tailwind
colors: {
custom: {
50: '#707daf',
500: '#2a4c8e',
950: '#000000',
},
}SCSS
$custom: #2a4c8e; $custom-light: #707daf; $custom-dark: #000000;
JSON
{
"hex": "#2a4c8e",
"rgb": {
"r": 42,
"g": 76,
"b": 142
},
"hsl": {
"h": 219.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.42744,
"c": 0.11635,
"h": 262.1
},
"luminance": 0.07614
}Semantic roles & 50–950 ramp
primary
#2A4C8E
secondary
#B6985D
accent
#AC4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F