#2A4FA0#2A4FA0
#2A4FA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.138 H 263.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FA0 |
|---|---|
| RGB | rgb(42, 79, 160) |
| HSL | hsl(221, 58%, 40%) |
| HSV | hsv(221, 74%, 63%) |
| CMYK | cmyk(73.8%, 50.6%, 0%, 37.3%) |
| CIE-LAB | lab(35.24, 15.90, -47.84) |
| CIE-LCH | lch(35.24, 50.41, 288.38°) |
| OKLab | oklab(44.72% -0.0159 -0.1374) |
| OKLCH | oklch(44.72% 0.138 263.4) |
| XYZ | xyz(10.0937, 8.6212, 34.3830) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 3.51
Dusk Blue
#26538D
ΔE00 3.68
Denim Blue
#3B5B92
ΔE00 4.56
Light Navy Blue
#2E5A88
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FA0 #A07B2A
analogous
#2A8AA0 #2A4FA0 #402AA0
triadic
#2A4FA0 #A02A4F #4FA02A
tetradic
#2A4FA0 #A02A8A #A07B2A #2AA040
square
#2A4FA0 #A02A8A #A07B2A #2AA040
split-complementary
#2A4FA0 #A0402A #8AA02A
monochromatic
#111F3F #1D3770 #2A4FA0 #3C69CC #6C8ED8
Accessibility & contrast
On white
7.71
#2A4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2A4FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FA0
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FA0 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4fa0; /* rgb */ color: rgb(42, 79, 160); /* oklch */ color: oklch(44.7% 0.138 263.4);
Tailwind
colors: {
custom: {
50: '#747fbd',
500: '#2a4fa0',
950: '#000000',
},
}SCSS
$custom: #2a4fa0; $custom-light: #747fbd; $custom-dark: #000000;
JSON
{
"hex": "#2a4fa0",
"rgb": {
"r": 42,
"g": 79,
"b": 160
},
"hsl": {
"h": 221.186,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.44724,
"c": 0.13837,
"h": 263.4
},
"luminance": 0.08622
}Semantic roles & 50–950 ramp
primary
#2A4FA0
secondary
#BFA367
accent
#B146E2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81