#2A4CB9#2A4CB9
#2A4CB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.177 H 266.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CB9 |
|---|---|
| RGB | rgb(42, 76, 185) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 77%, 73%) |
| CMYK | cmyk(77.3%, 58.9%, 0%, 27.5%) |
| CIE-LAB | lab(36.30, 27.45, -61.00) |
| CIE-LCH | lch(36.30, 66.89, 294.23°) |
| OKLab | oklab(46.11% -0.0117 -0.1762) |
| OKLCH | oklch(46.11% 0.177 266.2) |
| XYZ | xyz(12.2932, 9.1625, 47.0102) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.59
Blue Blue
#2242C7
ΔE00 3.71
Blue (survey)
#0343DF
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 6.21
Cobalt (survey)
#1E488F
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CB9 #B9972A
analogous
#2A94B9 #2A4CB9 #4F2AB9
triadic
#2A4CB9 #B92A4C #4CB92A
tetradic
#2A4CB9 #B92A94 #B9972A #2AB94F
square
#2A4CB9 #B92A94 #B9972A #2AB94F
split-complementary
#2A4CB9 #B94F2A #94B92A
monochromatic
#132355 #1F3887 #2A4CB9 #4A6BD6 #7C94E1
Accessibility & contrast
On white
7.41
#2A4CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A4CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CB9
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CB9 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4cb9; /* rgb */ color: rgb(42, 76, 185); /* oklch */ color: oklch(46.1% 0.177 266.2);
Tailwind
colors: {
custom: {
50: '#7a7dcf',
500: '#2a4cb9',
950: '#000000',
},
}SCSS
$custom: #2a4cb9; $custom-light: #7a7dcf; $custom-dark: #000000;
JSON
{
"hex": "#2a4cb9",
"rgb": {
"r": 42,
"g": 76,
"b": 185
},
"hsl": {
"h": 225.734,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.46109,
"c": 0.17658,
"h": 266.2
},
"luminance": 0.09164
}Semantic roles & 50–950 ramp
primary
#2A4CB9
secondary
#CAB675
accent
#BF42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82