#2A4B82#2A4B82
#2A4B82 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.100 H 260.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B82 |
|---|---|
| RGB | rgb(42, 75, 130) |
| HSL | hsl(218, 51%, 34%) |
| HSV | hsv(218, 68%, 51%) |
| CMYK | cmyk(67.7%, 42.3%, 0%, 49%) |
| CIE-LAB | lab(32.11, 7.06, -34.58) |
| CIE-LCH | lch(32.11, 35.29, 281.55°) |
| OKLab | oklab(41.69% -0.0173 -0.0985) |
| OKLCH | oklch(41.69% 0.1 260) |
| XYZ | xyz(7.4988, 7.1354, 22.0968) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.26
Dusk Blue
#26538D
ΔE00 3.29
Twilight Blue
#0A437A
ΔE00 3.80
Darkish Blue
#014182
ΔE00 3.95
Light Navy
#155084
ΔE00 4.19
Prussian Blue
#004577
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B82 #82612A
analogous
#2A7782 #2A4B82 #352A82
triadic
#2A4B82 #822A4B #4B822A
tetradic
#2A4B82 #822A77 #82612A #2A8235
square
#2A4B82 #822A77 #82612A #2A8235
split-complementary
#2A4B82 #82352A #77822A
monochromatic
#0C1625 #1B3054 #2A4B82 #3966B0 #5C85CA
Accessibility & contrast
On white
8.65
#2A4B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A4B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B82
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B82 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a4b82; /* rgb */ color: rgb(42, 75, 130); /* oklch */ color: oklch(41.7% 0.100 260.0);
Tailwind
colors: {
custom: {
50: '#6d7ca6',
500: '#2a4b82',
950: '#000000',
},
}SCSS
$custom: #2a4b82; $custom-light: #6d7ca6; $custom-dark: #000000;
JSON
{
"hex": "#2a4b82",
"rgb": {
"r": 42,
"g": 75,
"b": 130
},
"hsl": {
"h": 217.5,
"s": 51.163,
"l": 33.725
},
"oklch": {
"l": 0.4169,
"c": 0.10004,
"h": 260
},
"luminance": 0.07136
}Semantic roles & 50–950 ramp
primary
#2A4B82
secondary
#B08F58
accent
#A64DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F