#2A4BA4#2A4BA4
#2A4BA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 265.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BA4 |
|---|---|
| RGB | rgb(42, 75, 164) |
| HSL | hsl(224, 59%, 40%) |
| HSV | hsv(224, 74%, 64%) |
| CMYK | cmyk(74.4%, 54.3%, 0%, 35.7%) |
| CIE-LAB | lab(34.40, 20.11, -51.60) |
| CIE-LCH | lch(34.40, 55.38, 291.29°) |
| OKLab | oklab(44.18% -0.0121 -0.1486) |
| OKLCH | oklch(44.18% 0.149 265.3) |
| XYZ | xyz(10.1694, 8.2036, 36.1623) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.47
Cobalt (survey)
#1E488F
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 3.91
Dusk Blue
#26538D
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BA4 #A4832A
analogous
#2A88A4 #2A4BA4 #462AA4
triadic
#2A4BA4 #A42A4B #4BA42A
tetradic
#2A4BA4 #A42A88 #A4832A #2AA446
square
#2A4BA4 #A42A88 #A4832A #2AA446
split-complementary
#2A4BA4 #A4462A #88A42A
monochromatic
#111E43 #1E3573 #2A4BA4 #3E65CD #6E8CDA
Accessibility & contrast
On white
7.95
#2A4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A4BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BA4
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BA4 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0557A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4ba4; /* rgb */ color: rgb(42, 75, 164); /* oklch */ color: oklch(44.2% 0.149 265.3);
Tailwind
colors: {
custom: {
50: '#757cc0',
500: '#2a4ba4',
950: '#000000',
},
}SCSS
$custom: #2a4ba4; $custom-light: #757cc0; $custom-dark: #000000;
JSON
{
"hex": "#2a4ba4",
"rgb": {
"r": 42,
"g": 75,
"b": 164
},
"hsl": {
"h": 223.77,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.44176,
"c": 0.14908,
"h": 265.3
},
"luminance": 0.08205
}Semantic roles & 50–950 ramp
primary
#2A4BA4
secondary
#C1A969
accent
#B845E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81