#2A4EA9#2A4EA9
#2A4EA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.152 H 264.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EA9 |
|---|---|
| RGB | rgb(42, 78, 169) |
| HSL | hsl(223, 60%, 41%) |
| HSV | hsv(223, 75%, 66%) |
| CMYK | cmyk(75.1%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(35.60, 20.03, -52.64) |
| CIE-LCH | lch(35.60, 56.32, 290.83°) |
| OKLab | oklab(45.2% -0.0141 -0.1516) |
| OKLCH | oklch(45.2% 0.152 264.7) |
| XYZ | xyz(10.8381, 8.8044, 38.6566) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.79
Sapphire
#0F52BA
ΔE00 2.91
Cobalt (survey)
#1E488F
ΔE00 4.18
Dusk Blue
#26538D
ΔE00 4.95
Denim Blue
#3B5B92
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EA9 #A9852A
analogous
#2A8EA9 #2A4EA9 #462AA9
triadic
#2A4EA9 #A92A4E #4EA92A
tetradic
#2A4EA9 #A92A8E #A9852A #2AA946
square
#2A4EA9 #A92A8E #A9852A #2AA946
split-complementary
#2A4EA9 #A9462A #8EA92A
monochromatic
#122147 #1E3778 #2A4EA9 #4169D0 #7290DC
Accessibility & contrast
On white
7.61
#2A4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2A4EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4EA9
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EA9 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085AAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4ea9; /* rgb */ color: rgb(42, 78, 169); /* oklch */ color: oklch(45.2% 0.152 264.7);
Tailwind
colors: {
custom: {
50: '#767fc3',
500: '#2a4ea9',
950: '#000000',
},
}SCSS
$custom: #2a4ea9; $custom-light: #767fc3; $custom-dark: #000000;
JSON
{
"hex": "#2a4ea9",
"rgb": {
"r": 42,
"g": 78,
"b": 169
},
"hsl": {
"h": 222.992,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.45202,
"c": 0.15225,
"h": 264.7
},
"luminance": 0.08806
}Semantic roles & 50–950 ramp
primary
#2A4EA9
secondary
#C3AA6C
accent
#B644E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82