#2A4DB5#2A4DB5
#2A4DB5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.170 H 265.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DB5 |
|---|---|
| RGB | rgb(42, 77, 181) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 77%, 71%) |
| CMYK | cmyk(76.8%, 57.5%, 0%, 29%) |
| CIE-LAB | lab(36.24, 25.27, -58.73) |
| CIE-LCH | lch(36.24, 63.93, 293.29°) |
| OKLab | oklab(45.97% -0.0125 -0.1695) |
| OKLCH | oklch(45.97% 0.17 265.8) |
| XYZ | xyz(11.9463, 9.1348, 44.8407) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.25
Blue Blue
#2242C7
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DB5 #B5922A
analogous
#2A92B5 #2A4DB5 #4C2AB5
triadic
#2A4DB5 #B52A4D #4DB52A
tetradic
#2A4DB5 #B52A92 #B5922A #2AB54C
square
#2A4DB5 #B52A92 #B5922A #2AB54C
split-complementary
#2A4DB5 #B54C2A #92B52A
monochromatic
#132352 #1E3883 #2A4DB5 #486BD4 #7993E0
Accessibility & contrast
On white
7.43
#2A4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A4DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DB5
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DB5 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4db5; /* rgb */ color: rgb(42, 77, 181); /* oklch */ color: oklch(46.0% 0.170 265.8);
Tailwind
colors: {
custom: {
50: '#797ecc',
500: '#2a4db5',
950: '#000000',
},
}SCSS
$custom: #2a4db5; $custom-light: #797ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a4db5",
"rgb": {
"r": 42,
"g": 77,
"b": 181
},
"hsl": {
"h": 224.892,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.4597,
"c": 0.16996,
"h": 265.8
},
"luminance": 0.09136
}Semantic roles & 50–950 ramp
primary
#2A4DB5
secondary
#C8B373
accent
#BC42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82