#2A4CB1#2A4CB1
#2A4CB1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.166 H 265.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CB1 |
|---|---|
| RGB | rgb(42, 76, 177) |
| HSL | hsl(225, 62%, 43%) |
| HSV | hsv(225, 76%, 69%) |
| CMYK | cmyk(76.3%, 57.1%, 0%, 30.6%) |
| CIE-LAB | lab(35.66, 24.41, -57.30) |
| CIE-LCH | lch(35.66, 62.29, 293.08°) |
| OKLab | oklab(45.44% -0.012 -0.1653) |
| OKLCH | oklch(45.44% 0.166 265.9) |
| XYZ | xyz(11.4723, 8.8342, 42.6870) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Sapphire
#0F52BA
ΔE00 3.15
Blue Blue
#2242C7
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 6.18
Dusk Blue
#26538D
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CB1 #B18F2A
analogous
#2A8FB1 #2A4CB1 #4B2AB1
triadic
#2A4CB1 #B12A4C #4CB12A
tetradic
#2A4CB1 #B12A8F #B18F2A #2AB14B
square
#2A4CB1 #B12A8F #B18F2A #2AB14B
split-complementary
#2A4CB1 #B14B2A #8FB12A
monochromatic
#13224E #1E3780 #2A4CB1 #4569D3 #7791DF
Accessibility & contrast
On white
7.59
#2A4CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2A4CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CB1
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CB1 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4cb1; /* rgb */ color: rgb(42, 76, 177); /* oklch */ color: oklch(45.4% 0.166 265.9);
Tailwind
colors: {
custom: {
50: '#787dc9',
500: '#2a4cb1',
950: '#000000',
},
}SCSS
$custom: #2a4cb1; $custom-light: #787dc9; $custom-dark: #000000;
JSON
{
"hex": "#2a4cb1",
"rgb": {
"r": 42,
"g": 76,
"b": 177
},
"hsl": {
"h": 224.889,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.45437,
"c": 0.16577,
"h": 265.9
},
"luminance": 0.08835
}Semantic roles & 50–950 ramp
primary
#2A4CB1
secondary
#C6B170
accent
#BC43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82