#2A4E8B#2A4E8B
#2A4E8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.109 H 260.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E8B |
|---|---|
| RGB | rgb(42, 78, 139) |
| HSL | hsl(218, 54%, 35%) |
| HSV | hsv(218, 70%, 55%) |
| CMYK | cmyk(69.8%, 43.9%, 0%, 45.5%) |
| CIE-LAB | lab(33.57, 8.49, -37.79) |
| CIE-LCH | lch(33.57, 38.73, 282.66°) |
| OKLab | oklab(43% -0.0185 -0.1079) |
| OKLCH | oklch(43% 0.109 260.3) |
| XYZ | xyz(8.3378, 7.8043, 25.4881) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.14
Dusk Blue
#26538D
ΔE00 2.24
Light Navy
#155084
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 4.40
Darkish Blue
#014182
ΔE00 4.66
Twilight Blue
#0A437A
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E8B #8B672A
analogous
#2A7E8B #2A4E8B #362A8B
triadic
#2A4E8B #8B2A4E #4E8B2A
tetradic
#2A4E8B #8B2A7E #8B672A #2A8B36
square
#2A4E8B #8B2A7E #8B672A #2A8B36
split-complementary
#2A4E8B #8B362A #7E8B2A
monochromatic
#0E192D #1C345C #2A4E8B #3868BA #6089CF
Accessibility & contrast
On white
8.20
#2A4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2A4E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E8B
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E8B | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a4e8b; /* rgb */ color: rgb(42, 78, 139); /* oklch */ color: oklch(43.0% 0.109 260.3);
Tailwind
colors: {
custom: {
50: '#6f7fad',
500: '#2a4e8b',
950: '#000000',
},
}SCSS
$custom: #2a4e8b; $custom-light: #6f7fad; $custom-dark: #000000;
JSON
{
"hex": "#2a4e8b",
"rgb": {
"r": 42,
"g": 78,
"b": 139
},
"hsl": {
"h": 217.732,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.42997,
"c": 0.10948,
"h": 260.3
},
"luminance": 0.07805
}Semantic roles & 50–950 ramp
primary
#2A4E8B
secondary
#B5945C
accent
#A74BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F