#2A4A8A#2A4A8A
#2A4A8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.113 H 262.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4A8A |
|---|---|
| RGB | rgb(42, 74, 138) |
| HSL | hsl(220, 53%, 35%) |
| HSV | hsv(220, 70%, 54%) |
| CMYK | cmyk(69.6%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.31, 10.79, -39.19) |
| CIE-LCH | lch(32.31, 40.65, 285.39°) |
| OKLab | oklab(42.01% -0.0146 -0.1121) |
| OKLCH | oklch(42.01% 0.113 262.6) |
| XYZ | xyz(7.9894, 7.2240, 25.0131) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.48
Dusk Blue
#26538D
ΔE00 3.70
Darkish Blue
#014182
ΔE00 4.06
Twilight Blue
#0A437A
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.75
Light Navy
#155084
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4A8A #8A6A2A
analogous
#2A7A8A #2A4A8A #3A2A8A
triadic
#2A4A8A #8A2A4A #4A8A2A
tetradic
#2A4A8A #8A2A7A #8A6A2A #2A8A3A
square
#2A4A8A #8A2A7A #8A6A2A #2A8A3A
split-complementary
#2A4A8A #8A3A2A #7A8A2A
monochromatic
#0D182C #1C315B #2A4A8A #3863B9 #6085CF
Accessibility & contrast
On white
8.59
#2A4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4A8A
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4A8A | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A518C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a4a8a; /* rgb */ color: rgb(42, 74, 138); /* oklch */ color: oklch(42.0% 0.113 262.6);
Tailwind
colors: {
custom: {
50: '#6f7cac',
500: '#2a4a8a',
950: '#000000',
},
}SCSS
$custom: #2a4a8a; $custom-light: #6f7cac; $custom-dark: #000000;
JSON
{
"hex": "#2a4a8a",
"rgb": {
"r": 42,
"g": 74,
"b": 138
},
"hsl": {
"h": 220,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.42005,
"c": 0.11305,
"h": 262.6
},
"luminance": 0.07225
}Semantic roles & 50–950 ramp
primary
#2A4A8A
secondary
#B4975B
accent
#AC4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F