#2D4AB9#2D4AB9
#2D4AB9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.178 H 267.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4AB9 |
|---|---|
| RGB | rgb(45, 74, 185) |
| HSL | hsl(228, 61%, 45%) |
| HSV | hsv(228, 76%, 73%) |
| CMYK | cmyk(75.7%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(35.90, 29.09, -61.63) |
| CIE-LCH | lch(35.90, 68.15, 295.27°) |
| OKLab | oklab(45.85% -0.0078 -0.178) |
| OKLCH | oklch(45.85% 0.178 267.5) |
| XYZ | xyz(12.2849, 8.9569, 46.9709) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.12
Blue (survey)
#0343DF
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4AB9 #B99C2D
analogous
#2D90B9 #2D4AB9 #562DB9
triadic
#2D4AB9 #B92D4A #4AB92D
tetradic
#2D4AB9 #B92D90 #B99C2D #2DB956
square
#2D4AB9 #B92D90 #B99C2D #2DB956
split-complementary
#2D4AB9 #B9562D #90B92D
monochromatic
#152357 #213688 #2D4AB9 #4F6BD4 #8094E0
Accessibility & contrast
On white
7.52
#2D4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2D4AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4AB9
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4AB9 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d4ab9; /* rgb */ color: rgb(45, 74, 185); /* oklch */ color: oklch(45.8% 0.178 267.5);
Tailwind
colors: {
custom: {
50: '#7b7ccf',
500: '#2d4ab9',
950: '#000000',
},
}SCSS
$custom: #2d4ab9; $custom-light: #7b7ccf; $custom-dark: #000000;
JSON
{
"hex": "#2d4ab9",
"rgb": {
"r": 45,
"g": 74,
"b": 185
},
"hsl": {
"h": 227.571,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.45849,
"c": 0.1782,
"h": 267.5
},
"luminance": 0.08958
}Semantic roles & 50–950 ramp
primary
#2D4AB9
secondary
#C9B879
accent
#C344E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82