#2A4AB1#2A4AB1
#2A4AB1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.168 H 266.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB1 |
|---|---|
| RGB | rgb(42, 74, 177) |
| HSL | hsl(226, 62%, 43%) |
| HSV | hsv(226, 76%, 69%) |
| CMYK | cmyk(76.3%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.13, 25.74, -58.17) |
| CIE-LCH | lch(35.13, 63.61, 293.87°) |
| OKLab | oklab(45.04% -0.0105 -0.1679) |
| OKLCH | oklch(45.04% 0.168 266.4) |
| XYZ | xyz(11.3367, 8.5629, 42.6418) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Sapphire
#0F52BA
ΔE00 3.74
Blue Blue
#2242C7
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB1 #B1912A
analogous
#2A8DB1 #2A4AB1 #4E2AB1
triadic
#2A4AB1 #B12A4A #4AB12A
tetradic
#2A4AB1 #B12A8D #B1912A #2AB14E
square
#2A4AB1 #B12A8D #B1912A #2AB14E
split-complementary
#2A4AB1 #B14E2A #8DB12A
monochromatic
#13214E #1E3580 #2A4AB1 #4567D3 #778FDF
Accessibility & contrast
On white
7.74
#2A4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2A4AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB1
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB1 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4ab1; /* rgb */ color: rgb(42, 74, 177); /* oklch */ color: oklch(45.0% 0.168 266.4);
Tailwind
colors: {
custom: {
50: '#787cc9',
500: '#2a4ab1',
950: '#000000',
},
}SCSS
$custom: #2a4ab1; $custom-light: #787cc9; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab1",
"rgb": {
"r": 42,
"g": 74,
"b": 177
},
"hsl": {
"h": 225.778,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.45036,
"c": 0.16825,
"h": 266.4
},
"luminance": 0.08564
}Semantic roles & 50–950 ramp
primary
#2A4AB1
secondary
#C6B270
accent
#BE43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82