#2A4A88#2A4A88
#2A4A88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.110 H 262.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4A88 |
|---|---|
| RGB | rgb(42, 74, 136) |
| HSL | hsl(220, 53%, 35%) |
| HSV | hsv(220, 69%, 53%) |
| CMYK | cmyk(69.1%, 45.6%, 0%, 46.7%) |
| CIE-LAB | lab(32.18, 10.02, -38.17) |
| CIE-LCH | lch(32.18, 39.46, 284.71°) |
| OKLab | oklab(41.87% -0.015 -0.1091) |
| OKLCH | oklch(41.87% 0.11 262.2) |
| XYZ | xyz(7.8460, 7.1666, 24.2576) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.60
Dusk Blue
#26538D
ΔE00 3.66
Darkish Blue
#014182
ΔE00 3.97
Twilight Blue
#0A437A
ΔE00 4.21
Light Navy
#155084
ΔE00 4.85
Cobalt
#0047AB
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4A88 #88682A
analogous
#2A7988 #2A4A88 #392A88
triadic
#2A4A88 #882A4A #4A882A
tetradic
#2A4A88 #882A79 #88682A #2A8839
square
#2A4A88 #882A79 #88682A #2A8839
split-complementary
#2A4A88 #88392A #79882A
monochromatic
#0D172A #1C3159 #2A4A88 #3863B7 #5F85CE
Accessibility & contrast
On white
8.63
#2A4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A4A88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4A88
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4A88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4A88 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a4a88; /* rgb */ color: rgb(42, 74, 136); /* oklch */ color: oklch(41.9% 0.110 262.2);
Tailwind
colors: {
custom: {
50: '#6f7cab',
500: '#2a4a88',
950: '#000000',
},
}SCSS
$custom: #2a4a88; $custom-light: #6f7cab; $custom-dark: #000000;
JSON
{
"hex": "#2a4a88",
"rgb": {
"r": 42,
"g": 74,
"b": 136
},
"hsl": {
"h": 219.574,
"s": 52.809,
"l": 34.902
},
"oklch": {
"l": 0.41865,
"c": 0.11012,
"h": 262.2
},
"luminance": 0.07167
}Semantic roles & 50–950 ramp
primary
#2A4A88
secondary
#B3955B
accent
#AB4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F