#2A4CAB#2A4CAB
#2A4CAB is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.158 H 265.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CAB |
|---|---|
| RGB | rgb(42, 76, 171) |
| HSL | hsl(224, 61%, 42%) |
| HSV | hsv(224, 75%, 67%) |
| CMYK | cmyk(75.4%, 55.6%, 0%, 32.9%) |
| CIE-LAB | lab(35.20, 22.13, -54.49) |
| CIE-LCH | lch(35.20, 58.81, 292.10°) |
| OKLab | oklab(44.95% -0.0124 -0.1571) |
| OKLCH | oklch(44.95% 0.158 265.5) |
| XYZ | xyz(10.8874, 8.6002, 39.6064) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.56
Sapphire
#0F52BA
ΔE00 3.29
Cobalt (survey)
#1E488F
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 5.23
Dusk Blue
#26538D
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CAB #AB892A
analogous
#2A8DAB #2A4CAB #492AAB
triadic
#2A4CAB #AB2A4C #4CAB2A
tetradic
#2A4CAB #AB2A8D #AB892A #2AAB49
square
#2A4CAB #AB2A8D #AB892A #2AAB49
split-complementary
#2A4CAB #AB492A #8DAB2A
monochromatic
#122049 #1E367A #2A4CAB #4267D1 #738FDD
Accessibility & contrast
On white
7.72
#2A4CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2A4CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CAB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CAB | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4cab; /* rgb */ color: rgb(42, 76, 171); /* oklch */ color: oklch(44.9% 0.158 265.5);
Tailwind
colors: {
custom: {
50: '#767dc5',
500: '#2a4cab',
950: '#000000',
},
}SCSS
$custom: #2a4cab; $custom-light: #767dc5; $custom-dark: #000000;
JSON
{
"hex": "#2a4cab",
"rgb": {
"r": 42,
"g": 76,
"b": 171
},
"hsl": {
"h": 224.186,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.44946,
"c": 0.15755,
"h": 265.5
},
"luminance": 0.08601
}Semantic roles & 50–950 ramp
primary
#2A4CAB
secondary
#C4AD6D
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82