#2A4AB0#2A4AB0
#2A4AB0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.167 H 266.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB0 |
|---|---|
| RGB | rgb(42, 74, 176) |
| HSL | hsl(226, 61%, 43%) |
| HSV | hsv(226, 76%, 69%) |
| CMYK | cmyk(76.1%, 58%, 0%, 31%) |
| CIE-LAB | lab(35.05, 25.36, -57.71) |
| CIE-LCH | lch(35.05, 63.04, 293.72°) |
| OKLab | oklab(44.95% -0.0106 -0.1666) |
| OKLCH | oklch(44.95% 0.167 266.4) |
| XYZ | xyz(11.2374, 8.5231, 42.1188) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.78
Sapphire
#0F52BA
ΔE00 3.74
Blue Blue
#2242C7
ΔE00 4.15
Cobalt (survey)
#1E488F
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB0 #B0902A
analogous
#2A8DB0 #2A4AB0 #4D2AB0
triadic
#2A4AB0 #B02A4A #4AB02A
tetradic
#2A4AB0 #B02A8D #B0902A #2AB04D
square
#2A4AB0 #B02A8D #B0902A #2AB04D
split-complementary
#2A4AB0 #B04D2A #8DB02A
monochromatic
#12204D #1E357F #2A4AB0 #4567D3 #768FDE
Accessibility & contrast
On white
7.76
#2A4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2A4AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB0
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB0 | 1.00 | 7.76 | 2.70 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4ab0; /* rgb */ color: rgb(42, 74, 176); /* oklch */ color: oklch(45.0% 0.167 266.4);
Tailwind
colors: {
custom: {
50: '#787cc8',
500: '#2a4ab0',
950: '#000000',
},
}SCSS
$custom: #2a4ab0; $custom-light: #787cc8; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab0",
"rgb": {
"r": 42,
"g": 74,
"b": 176
},
"hsl": {
"h": 225.672,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.44952,
"c": 0.1669,
"h": 266.4
},
"luminance": 0.08524
}Semantic roles & 50–950 ramp
primary
#2A4AB0
secondary
#C6B170
accent
#BE43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82