#2A4AB9#2A4AB9
#2A4AB9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.179 H 266.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AB9 |
|---|---|
| RGB | rgb(42, 74, 185) |
| HSL | hsl(227, 63%, 45%) |
| HSV | hsv(227, 77%, 73%) |
| CMYK | cmyk(77.3%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(35.77, 28.76, -61.85) |
| CIE-LCH | lch(35.77, 68.21, 294.94°) |
| OKLab | oklab(45.72% -0.0103 -0.1787) |
| OKLCH | oklch(45.72% 0.179 266.7) |
| XYZ | xyz(12.1575, 8.8912, 46.9650) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.15
Cobalt
#0047AB
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 3.89
Blue (survey)
#0343DF
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AB9 #B9992A
analogous
#2A92B9 #2A4AB9 #512AB9
triadic
#2A4AB9 #B92A4A #4AB92A
tetradic
#2A4AB9 #B92A92 #B9992A #2AB951
square
#2A4AB9 #B92A92 #B9992A #2AB951
split-complementary
#2A4AB9 #B9512A #92B92A
monochromatic
#132255 #1F3687 #2A4AB9 #4A6AD6 #7C93E1
Accessibility & contrast
On white
7.56
#2A4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A4AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AB9
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AB9 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4ab9; /* rgb */ color: rgb(42, 74, 185); /* oklch */ color: oklch(45.7% 0.179 266.7);
Tailwind
colors: {
custom: {
50: '#7a7ccf',
500: '#2a4ab9',
950: '#000000',
},
}SCSS
$custom: #2a4ab9; $custom-light: #7a7ccf; $custom-dark: #000000;
JSON
{
"hex": "#2a4ab9",
"rgb": {
"r": 42,
"g": 74,
"b": 185
},
"hsl": {
"h": 226.573,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.45719,
"c": 0.17901,
"h": 266.7
},
"luminance": 0.08893
}Semantic roles & 50–950 ramp
primary
#2A4AB9
secondary
#CAB775
accent
#C142E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82