#2A4DB4#2A4DB4
#2A4DB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.169 H 265.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DB4 |
|---|---|
| RGB | rgb(42, 77, 180) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 77%, 71%) |
| CMYK | cmyk(76.7%, 57.2%, 0%, 29.4%) |
| CIE-LAB | lab(36.16, 24.89, -58.26) |
| CIE-LCH | lch(36.16, 63.36, 293.14°) |
| OKLab | oklab(45.89% -0.0126 -0.1681) |
| OKLCH | oklch(45.89% 0.169 265.7) |
| XYZ | xyz(11.8440, 9.0940, 44.3023) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 6.18
Dusk Blue
#26538D
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DB4 #B4912A
analogous
#2A92B4 #2A4DB4 #4C2AB4
triadic
#2A4DB4 #B42A4D #4DB42A
tetradic
#2A4DB4 #B42A92 #B4912A #2AB44C
square
#2A4DB4 #B42A92 #B4912A #2AB44C
split-complementary
#2A4DB4 #B44C2A #92B42A
monochromatic
#132351 #1E3882 #2A4DB4 #476BD4 #7993E0
Accessibility & contrast
On white
7.45
#2A4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2A4DB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DB4
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DB4 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4db4; /* rgb */ color: rgb(42, 77, 180); /* oklch */ color: oklch(45.9% 0.169 265.7);
Tailwind
colors: {
custom: {
50: '#787ecb',
500: '#2a4db4',
950: '#000000',
},
}SCSS
$custom: #2a4db4; $custom-light: #787ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a4db4",
"rgb": {
"r": 42,
"g": 77,
"b": 180
},
"hsl": {
"h": 224.783,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.45887,
"c": 0.16861,
"h": 265.7
},
"luminance": 0.09095
}Semantic roles & 50–950 ramp
primary
#2A4DB4
secondary
#C8B272
accent
#BC43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82