#2A4A8B#2A4A8B
#2A4A8B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.115 H 262.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4A8B |
|---|---|
| RGB | rgb(42, 74, 139) |
| HSL | hsl(220, 54%, 35%) |
| HSV | hsv(220, 70%, 55%) |
| CMYK | cmyk(69.8%, 46.8%, 0%, 45.5%) |
| CIE-LAB | lab(32.38, 11.17, -39.70) |
| CIE-LCH | lch(32.38, 41.25, 285.71°) |
| OKLab | oklab(42.08% -0.0144 -0.1136) |
| OKLCH | oklch(42.08% 0.115 262.8) |
| XYZ | xyz(8.0622, 7.2531, 25.3962) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.44
Dusk Blue
#26538D
ΔE00 3.72
Darkish Blue
#014182
ΔE00 4.11
Twilight Blue
#0A437A
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.63
Light Navy
#155084
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4A8B #8B6B2A
analogous
#2A7A8B #2A4A8B #3A2A8B
triadic
#2A4A8B #8B2A4A #4A8B2A
tetradic
#2A4A8B #8B2A7A #8B6B2A #2A8B3A
square
#2A4A8B #8B2A7A #8B6B2A #2A8B3A
split-complementary
#2A4A8B #8B3A2A #7A8B2A
monochromatic
#0E182D #1C315C #2A4A8B #3863BA #6085CF
Accessibility & contrast
On white
8.57
#2A4A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A4A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4A8B
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4A8B | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#17488A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a4a8b; /* rgb */ color: rgb(42, 74, 139); /* oklch */ color: oklch(42.1% 0.115 262.8);
Tailwind
colors: {
custom: {
50: '#6f7cad',
500: '#2a4a8b',
950: '#000000',
},
}SCSS
$custom: #2a4a8b; $custom-light: #6f7cad; $custom-dark: #000000;
JSON
{
"hex": "#2a4a8b",
"rgb": {
"r": 42,
"g": 74,
"b": 139
},
"hsl": {
"h": 220.206,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.42075,
"c": 0.11451,
"h": 262.8
},
"luminance": 0.07254
}Semantic roles & 50–950 ramp
primary
#2A4A8B
secondary
#B5985C
accent
#AD4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F