#2A4E8A#2A4E8A
#2A4E8A is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.108 H 260.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E8A |
|---|---|
| RGB | rgb(42, 78, 138) |
| HSL | hsl(218, 53%, 35%) |
| HSV | hsv(218, 70%, 54%) |
| CMYK | cmyk(69.6%, 43.5%, 0%, 45.9%) |
| CIE-LAB | lab(33.51, 8.11, -37.28) |
| CIE-LCH | lch(33.51, 38.15, 282.27°) |
| OKLab | oklab(42.93% -0.0187 -0.1064) |
| OKLCH | oklch(42.93% 0.108 260) |
| XYZ | xyz(8.2650, 7.7752, 25.1050) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.19
Dusk Blue
#26538D
ΔE00 2.21
Light Navy
#155084
ΔE00 3.82
Denim Blue
#3B5B92
ΔE00 4.42
Twilight Blue
#0A437A
ΔE00 4.59
Darkish Blue
#014182
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E8A #8A662A
analogous
#2A7E8A #2A4E8A #362A8A
triadic
#2A4E8A #8A2A4E #4E8A2A
tetradic
#2A4E8A #8A2A7E #8A662A #2A8A36
square
#2A4E8A #8A2A7E #8A662A #2A8A36
split-complementary
#2A4E8A #8A362A #7E8A2A
monochromatic
#0D192C #1C335B #2A4E8A #3869B9 #6089CF
Accessibility & contrast
On white
8.22
#2A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2A4E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E8A
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E8A | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a4e8a; /* rgb */ color: rgb(42, 78, 138); /* oklch */ color: oklch(42.9% 0.108 260.0);
Tailwind
colors: {
custom: {
50: '#6f7fac',
500: '#2a4e8a',
950: '#000000',
},
}SCSS
$custom: #2a4e8a; $custom-light: #6f7fac; $custom-dark: #000000;
JSON
{
"hex": "#2a4e8a",
"rgb": {
"r": 42,
"g": 78,
"b": 138
},
"hsl": {
"h": 217.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.42929,
"c": 0.10803,
"h": 260
},
"luminance": 0.07776
}Semantic roles & 50–950 ramp
primary
#2A4E8A
secondary
#B4935B
accent
#A64BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F