#2A4CB3#2A4CB3
#2A4CB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.168 H 266.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CB3 |
|---|---|
| RGB | rgb(42, 76, 179) |
| HSL | hsl(225, 62%, 43%) |
| HSV | hsv(225, 77%, 70%) |
| CMYK | cmyk(76.5%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(35.82, 25.18, -58.23) |
| CIE-LCH | lch(35.82, 63.44, 293.38°) |
| OKLab | oklab(45.6% -0.0119 -0.1681) |
| OKLCH | oklch(45.6% 0.168 266) |
| XYZ | xyz(11.6731, 8.9145, 43.7445) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Sapphire
#0F52BA
ΔE00 3.15
Blue Blue
#2242C7
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 6.15
Sapphire (survey)
#2138AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CB3 #B3912A
analogous
#2A91B3 #2A4CB3 #4C2AB3
triadic
#2A4CB3 #B32A4C #4CB32A
tetradic
#2A4CB3 #B32A91 #B3912A #2AB34C
square
#2A4CB3 #B32A91 #B3912A #2AB34C
split-complementary
#2A4CB3 #B34C2A #91B32A
monochromatic
#132250 #1E3781 #2A4CB3 #466AD4 #7892DF
Accessibility & contrast
On white
7.55
#2A4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A4CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CB3
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CB3 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a4cb3; /* rgb */ color: rgb(42, 76, 179); /* oklch */ color: oklch(45.6% 0.168 266.0);
Tailwind
colors: {
custom: {
50: '#787dcb',
500: '#2a4cb3',
950: '#000000',
},
}SCSS
$custom: #2a4cb3; $custom-light: #787dcb; $custom-dark: #000000;
JSON
{
"hex": "#2a4cb3",
"rgb": {
"r": 42,
"g": 76,
"b": 179
},
"hsl": {
"h": 225.109,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.45603,
"c": 0.16849,
"h": 266
},
"luminance": 0.08916
}Semantic roles & 50–950 ramp
primary
#2A4CB3
secondary
#C7B272
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82