#2A4FB5#2A4FB5
#2A4FB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.167 H 265.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FB5 |
|---|---|
| RGB | rgb(42, 79, 181) |
| HSL | hsl(224, 62%, 44%) |
| HSV | hsv(224, 77%, 71%) |
| CMYK | cmyk(76.8%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(36.78, 23.95, -57.85) |
| CIE-LCH | lch(36.78, 62.62, 292.49°) |
| OKLab | oklab(46.37% -0.0139 -0.1669) |
| OKLCH | oklch(46.37% 0.167 265.2) |
| XYZ | xyz(12.0884, 9.4190, 44.8881) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.36
Cobalt
#0047AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.77
Dusk Blue
#26538D
ΔE00 6.17
Denim Blue
#3B5B92
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FB5 #B5902A
analogous
#2A94B5 #2A4FB5 #4A2AB5
triadic
#2A4FB5 #B52A4F #4FB52A
tetradic
#2A4FB5 #B52A94 #B5902A #2AB54A
square
#2A4FB5 #B52A94 #B5902A #2AB54A
split-complementary
#2A4FB5 #B54A2A #94B52A
monochromatic
#132452 #1E3983 #2A4FB5 #486DD4 #7995E0
Accessibility & contrast
On white
7.28
#2A4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2A4FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FB5
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FB5 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a4fb5; /* rgb */ color: rgb(42, 79, 181); /* oklch */ color: oklch(46.4% 0.167 265.2);
Tailwind
colors: {
custom: {
50: '#797fcc',
500: '#2a4fb5',
950: '#000000',
},
}SCSS
$custom: #2a4fb5; $custom-light: #797fcc; $custom-dark: #000000;
JSON
{
"hex": "#2a4fb5",
"rgb": {
"r": 42,
"g": 79,
"b": 181
},
"hsl": {
"h": 224.029,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.46373,
"c": 0.16748,
"h": 265.2
},
"luminance": 0.0942
}Semantic roles & 50–950 ramp
primary
#2A4FB5
secondary
#C8B173
accent
#BA42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82