#2D4AB2#2D4AB2
#2D4AB2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.169 H 267.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4AB2 |
|---|---|
| RGB | rgb(45, 74, 178) |
| HSL | hsl(227, 60%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(74.7%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(35.34, 26.47, -58.42) |
| CIE-LCH | lch(35.34, 64.14, 294.38°) |
| OKLab | oklab(45.25% -0.0079 -0.1686) |
| OKLCH | oklch(45.25% 0.169 267.3) |
| XYZ | xyz(11.5641, 8.6686, 43.1746) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 3.82
Sapphire
#0F52BA
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4AB2 #B2952D
analogous
#2D8CB2 #2D4AB2 #522DB2
triadic
#2D4AB2 #B22D4A #4AB22D
tetradic
#2D4AB2 #B22D8C #B2952D #2DB252
square
#2D4AB2 #B22D8C #B2952D #2DB252
split-complementary
#2D4AB2 #B2522D #8CB22D
monochromatic
#142150 #213681 #2D4AB2 #4B68D1 #7C91DE
Accessibility & contrast
On white
7.68
#2D4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2D4AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4AB2
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4AB2 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d4ab2; /* rgb */ color: rgb(45, 74, 178); /* oklch */ color: oklch(45.3% 0.169 267.3);
Tailwind
colors: {
custom: {
50: '#797cca',
500: '#2d4ab2',
950: '#000000',
},
}SCSS
$custom: #2d4ab2; $custom-light: #797cca; $custom-dark: #000000;
JSON
{
"hex": "#2d4ab2",
"rgb": {
"r": 45,
"g": 74,
"b": 178
},
"hsl": {
"h": 226.917,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.45254,
"c": 0.16878,
"h": 267.3
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#2D4AB2
secondary
#C6B475
accent
#C045E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82