#2D4AB3#2D4AB3
#2D4AB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.170 H 267.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4AB3 |
|---|---|
| RGB | rgb(45, 74, 179) |
| HSL | hsl(227, 60%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(74.9%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.42, 26.85, -58.88) |
| CIE-LCH | lch(35.42, 64.71, 294.51°) |
| OKLab | oklab(45.34% -0.0079 -0.1699) |
| OKLCH | oklch(45.34% 0.17 267.3) |
| XYZ | xyz(11.6648, 8.7089, 43.7053) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Blue Blue
#2242C7
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.82
Cobalt (survey)
#1E488F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4AB3 #B3962D
analogous
#2D8DB3 #2D4AB3 #532DB3
triadic
#2D4AB3 #B32D4A #4AB32D
tetradic
#2D4AB3 #B32D8D #B3962D #2DB353
square
#2D4AB3 #B32D8D #B3962D #2DB353
split-complementary
#2D4AB3 #B3532D #8DB32D
monochromatic
#142251 #213682 #2D4AB3 #4B68D2 #7C91DE
Accessibility & contrast
On white
7.66
#2D4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2D4AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4AB3
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4AB3 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d4ab3; /* rgb */ color: rgb(45, 74, 179); /* oklch */ color: oklch(45.3% 0.170 267.3);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2d4ab3',
950: '#000000',
},
}SCSS
$custom: #2d4ab3; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2d4ab3",
"rgb": {
"r": 45,
"g": 74,
"b": 179
},
"hsl": {
"h": 227.015,
"s": 59.821,
"l": 43.922
},
"oklch": {
"l": 0.45338,
"c": 0.17013,
"h": 267.3
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#2D4AB3
secondary
#C7B575
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82