#2A4FA3#2A4FA3
#2A4FA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.143 H 263.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FA3 |
|---|---|
| RGB | rgb(42, 79, 163) |
| HSL | hsl(222, 59%, 40%) |
| HSV | hsv(222, 74%, 64%) |
| CMYK | cmyk(74.2%, 51.5%, 0%, 36.1%) |
| CIE-LAB | lab(35.45, 17.05, -49.30) |
| CIE-LCH | lch(35.45, 52.17, 289.08°) |
| OKLab | oklab(44.95% -0.0155 -0.1417) |
| OKLCH | oklch(44.95% 0.143 263.7) |
| XYZ | xyz(10.3593, 8.7274, 35.7818) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 4.02
Denim Blue
#3B5B92
ΔE00 4.75
Light Navy Blue
#2E5A88
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FA3 #A37E2A
analogous
#2A8BA3 #2A4FA3 #422AA3
triadic
#2A4FA3 #A32A4F #4FA32A
tetradic
#2A4FA3 #A32A8B #A37E2A #2AA342
square
#2A4FA3 #A32A8B #A37E2A #2AA342
split-complementary
#2A4FA3 #A3422A #8BA32A
monochromatic
#112042 #1D3772 #2A4FA3 #3D69CD #6E8FDA
Accessibility & contrast
On white
7.65
#2A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A4FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FA3
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FA3 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4fa3; /* rgb */ color: rgb(42, 79, 163); /* oklch */ color: oklch(45.0% 0.143 263.7);
Tailwind
colors: {
custom: {
50: '#747fbf',
500: '#2a4fa3',
950: '#000000',
},
}SCSS
$custom: #2a4fa3; $custom-light: #747fbf; $custom-dark: #000000;
JSON
{
"hex": "#2a4fa3",
"rgb": {
"r": 42,
"g": 79,
"b": 163
},
"hsl": {
"h": 221.653,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.44951,
"c": 0.1426,
"h": 263.7
},
"luminance": 0.08729
}Semantic roles & 50–950 ramp
primary
#2A4FA3
secondary
#C0A668
accent
#B246E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81