#2A4BA3#2A4BA3
#2A4BA3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.148 H 265.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BA3 |
|---|---|
| RGB | rgb(42, 75, 163) |
| HSL | hsl(224, 59%, 40%) |
| HSV | hsv(224, 74%, 64%) |
| CMYK | cmyk(74.2%, 54%, 0%, 36.1%) |
| CIE-LAB | lab(34.33, 19.73, -51.12) |
| CIE-LCH | lch(34.33, 54.80, 291.10°) |
| OKLab | oklab(44.1% -0.0122 -0.1472) |
| OKLCH | oklch(44.1% 0.148 265.3) |
| XYZ | xyz(10.0795, 8.1677, 35.6885) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.49
Cobalt (survey)
#1E488F
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 3.98
Dusk Blue
#26538D
ΔE00 5.07
Denim Blue
#3B5B92
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BA3 #A3822A
analogous
#2A88A3 #2A4BA3 #452AA3
triadic
#2A4BA3 #A32A4B #4BA32A
tetradic
#2A4BA3 #A32A88 #A3822A #2AA345
square
#2A4BA3 #A32A88 #A3822A #2AA345
split-complementary
#2A4BA3 #A3452A #88A32A
monochromatic
#111E42 #1D3572 #2A4BA3 #3D64CD #6E8BDA
Accessibility & contrast
On white
7.97
#2A4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2A4BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BA3
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BA3 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4ba3; /* rgb */ color: rgb(42, 75, 163); /* oklch */ color: oklch(44.1% 0.148 265.3);
Tailwind
colors: {
custom: {
50: '#757cbf',
500: '#2a4ba3',
950: '#000000',
},
}SCSS
$custom: #2a4ba3; $custom-light: #757cbf; $custom-dark: #000000;
JSON
{
"hex": "#2a4ba3",
"rgb": {
"r": 42,
"g": 75,
"b": 163
},
"hsl": {
"h": 223.636,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.44097,
"c": 0.14767,
"h": 265.3
},
"luminance": 0.08169
}Semantic roles & 50–950 ramp
primary
#2A4BA3
secondary
#C0A868
accent
#B746E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81