#2A4DB6#2A4DB6
#2A4DB6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.171 H 265.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DB6 |
|---|---|
| RGB | rgb(42, 77, 182) |
| HSL | hsl(225, 63%, 44%) |
| HSV | hsv(225, 77%, 71%) |
| CMYK | cmyk(76.9%, 57.7%, 0%, 28.6%) |
| CIE-LAB | lab(36.32, 25.65, -59.19) |
| CIE-LCH | lch(36.32, 64.51, 293.43°) |
| OKLab | oklab(46.05% -0.0125 -0.1709) |
| OKLCH | oklch(46.05% 0.171 265.8) |
| XYZ | xyz(12.0492, 9.1760, 45.3830) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.91
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.28
Cobalt (survey)
#1E488F
ΔE00 5.90
Blue (survey)
#0343DF
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DB6 #B6932A
analogous
#2A93B6 #2A4DB6 #4D2AB6
triadic
#2A4DB6 #B62A4D #4DB62A
tetradic
#2A4DB6 #B62A93 #B6932A #2AB64D
square
#2A4DB6 #B62A93 #B6932A #2AB64D
split-complementary
#2A4DB6 #B64D2A #93B62A
monochromatic
#132353 #1F3884 #2A4DB6 #486BD5 #7A94E0
Accessibility & contrast
On white
7.41
#2A4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2A4DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DB6
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DB6 | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4db6; /* rgb */ color: rgb(42, 77, 182); /* oklch */ color: oklch(46.1% 0.171 265.8);
Tailwind
colors: {
custom: {
50: '#797ecd',
500: '#2a4db6',
950: '#000000',
},
}SCSS
$custom: #2a4db6; $custom-light: #797ecd; $custom-dark: #000000;
JSON
{
"hex": "#2a4db6",
"rgb": {
"r": 42,
"g": 77,
"b": 182
},
"hsl": {
"h": 225,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.46053,
"c": 0.17131,
"h": 265.8
},
"luminance": 0.09177
}Semantic roles & 50–950 ramp
primary
#2A4DB6
secondary
#C8B373
accent
#BD42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82