#2D4AB1#2D4AB1
#2D4AB1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.167 H 267.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4AB1 |
|---|---|
| RGB | rgb(45, 74, 177) |
| HSL | hsl(227, 59%, 44%) |
| HSV | hsv(227, 75%, 69%) |
| CMYK | cmyk(74.6%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.26, 26.10, -57.96) |
| CIE-LCH | lch(35.26, 63.56, 294.24°) |
| OKLab | oklab(45.17% -0.008 -0.1672) |
| OKLCH | oklch(45.17% 0.167 267.3) |
| XYZ | xyz(11.4640, 8.6285, 42.6477) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4AB1 #B1942D
analogous
#2D8CB1 #2D4AB1 #522DB1
triadic
#2D4AB1 #B12D4A #4AB12D
tetradic
#2D4AB1 #B12D8C #B1942D #2DB152
square
#2D4AB1 #B12D8C #B1942D #2DB152
split-complementary
#2D4AB1 #B1522D #8CB12D
monochromatic
#14214F #213680 #2D4AB1 #4A68D1 #7B91DD
Accessibility & contrast
On white
7.70
#2D4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2D4AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4AB1
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4AB1 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d4ab1; /* rgb */ color: rgb(45, 74, 177); /* oklch */ color: oklch(45.2% 0.167 267.3);
Tailwind
colors: {
custom: {
50: '#797cc9',
500: '#2d4ab1',
950: '#000000',
},
}SCSS
$custom: #2d4ab1; $custom-light: #797cc9; $custom-dark: #000000;
JSON
{
"hex": "#2d4ab1",
"rgb": {
"r": 45,
"g": 74,
"b": 177
},
"hsl": {
"h": 226.818,
"s": 59.459,
"l": 43.529
},
"oklch": {
"l": 0.4517,
"c": 0.16741,
"h": 267.3
},
"luminance": 0.0863
}Semantic roles & 50–950 ramp
primary
#2D4AB1
secondary
#C6B474
accent
#C045E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82