#2A4EA6#2A4EA6
#2A4EA6 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.148 H 264.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EA6 |
|---|---|
| RGB | rgb(42, 78, 166) |
| HSL | hsl(223, 60%, 41%) |
| HSV | hsv(223, 75%, 65%) |
| CMYK | cmyk(74.7%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(35.39, 18.87, -51.21) |
| CIE-LCH | lch(35.39, 54.57, 290.23°) |
| OKLab | oklab(44.97% -0.0144 -0.1474) |
| OKLCH | oklch(44.97% 0.148 264.4) |
| XYZ | xyz(10.5597, 8.6930, 37.1904) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 3.81
Dusk Blue
#26538D
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 5.24
Light Navy Blue
#2E5A88
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EA6 #A6822A
analogous
#2A8CA6 #2A4EA6 #442AA6
triadic
#2A4EA6 #A62A4E #4EA62A
tetradic
#2A4EA6 #A62A8C #A6822A #2AA644
square
#2A4EA6 #A62A8C #A6822A #2AA644
split-complementary
#2A4EA6 #A6442A #8CA62A
monochromatic
#112044 #1E3775 #2A4EA6 #3F68CE #708FDB
Accessibility & contrast
On white
7.67
#2A4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4EA6
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EA6 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4ea6; /* rgb */ color: rgb(42, 78, 166); /* oklch */ color: oklch(45.0% 0.148 264.4);
Tailwind
colors: {
custom: {
50: '#757fc1',
500: '#2a4ea6',
950: '#000000',
},
}SCSS
$custom: #2a4ea6; $custom-light: #757fc1; $custom-dark: #000000;
JSON
{
"hex": "#2a4ea6",
"rgb": {
"r": 42,
"g": 78,
"b": 166
},
"hsl": {
"h": 222.581,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.44967,
"c": 0.14807,
"h": 264.4
},
"luminance": 0.08694
}Semantic roles & 50–950 ramp
primary
#2A4EA6
secondary
#C2A86A
accent
#B545E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81