#2A4DB9#2A4DB9
#2A4DB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.175 H 266.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DB9 |
|---|---|
| RGB | rgb(42, 77, 185) |
| HSL | hsl(225, 63%, 45%) |
| HSV | hsv(225, 77%, 73%) |
| CMYK | cmyk(77.3%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(36.56, 26.79, -60.57) |
| CIE-LCH | lch(36.56, 66.23, 293.86°) |
| OKLab | oklab(46.31% -0.0123 -0.1749) |
| OKLCH | oklch(46.31% 0.175 266) |
| XYZ | xyz(12.3626, 9.3014, 47.0333) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 4.01
Blue (survey)
#0343DF
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 6.31
Sapphire (survey)
#2138AB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DB9 #B9962A
analogous
#2A95B9 #2A4DB9 #4F2AB9
triadic
#2A4DB9 #B92A4D #4DB92A
tetradic
#2A4DB9 #B92A95 #B9962A #2AB94F
square
#2A4DB9 #B92A95 #B9962A #2AB94F
split-complementary
#2A4DB9 #B94F2A #95B92A
monochromatic
#132355 #1F3887 #2A4DB9 #4A6CD6 #7C95E1
Accessibility & contrast
On white
7.34
#2A4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2A4DB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DB9
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DB9 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4db9; /* rgb */ color: rgb(42, 77, 185); /* oklch */ color: oklch(46.3% 0.175 266.0);
Tailwind
colors: {
custom: {
50: '#7a7ecf',
500: '#2a4db9',
950: '#000000',
},
}SCSS
$custom: #2a4db9; $custom-light: #7a7ecf; $custom-dark: #000000;
JSON
{
"hex": "#2a4db9",
"rgb": {
"r": 42,
"g": 77,
"b": 185
},
"hsl": {
"h": 225.315,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.46305,
"c": 0.17535,
"h": 266
},
"luminance": 0.09303
}Semantic roles & 50–950 ramp
primary
#2A4DB9
secondary
#CAB575
accent
#BE42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82