#2A4FA2#2A4FA2
#2A4FA2 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.141 H 263.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FA2 |
|---|---|
| RGB | rgb(42, 79, 162) |
| HSL | hsl(222, 59%, 40%) |
| HSV | hsv(222, 74%, 64%) |
| CMYK | cmyk(74.1%, 51.2%, 0%, 36.5%) |
| CIE-LAB | lab(35.38, 16.67, -48.82) |
| CIE-LCH | lch(35.38, 51.58, 288.85°) |
| OKLab | oklab(44.88% -0.0157 -0.1403) |
| OKLCH | oklch(44.88% 0.141 263.6) |
| XYZ | xyz(10.2701, 8.6917, 35.3118) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 3.31
Cobalt (survey)
#1E488F
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 3.91
Denim Blue
#3B5B92
ΔE00 4.68
Light Navy Blue
#2E5A88
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FA2 #A27D2A
analogous
#2A8BA2 #2A4FA2 #412AA2
triadic
#2A4FA2 #A22A4F #4FA22A
tetradic
#2A4FA2 #A22A8B #A27D2A #2AA241
square
#2A4FA2 #A22A8B #A27D2A #2AA241
split-complementary
#2A4FA2 #A2412A #8BA22A
monochromatic
#112041 #1D3771 #2A4FA2 #3D69CD #6D8ED9
Accessibility & contrast
On white
7.67
#2A4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A4FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FA2
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FA2 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4fa2; /* rgb */ color: rgb(42, 79, 162); /* oklch */ color: oklch(44.9% 0.141 263.6);
Tailwind
colors: {
custom: {
50: '#747fbe',
500: '#2a4fa2',
950: '#000000',
},
}SCSS
$custom: #2a4fa2; $custom-light: #747fbe; $custom-dark: #000000;
JSON
{
"hex": "#2a4fa2",
"rgb": {
"r": 42,
"g": 79,
"b": 162
},
"hsl": {
"h": 221.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.44875,
"c": 0.14119,
"h": 263.6
},
"luminance": 0.08693
}Semantic roles & 50–950 ramp
primary
#2A4FA2
secondary
#C0A568
accent
#B246E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81