#2D4AB6#2D4AB6
#2D4AB6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.174 H 267.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4AB6 |
|---|---|
| RGB | rgb(45, 74, 182) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 71%) |
| CMYK | cmyk(75.3%, 59.3%, 0%, 28.6%) |
| CIE-LAB | lab(35.66, 27.97, -60.26) |
| CIE-LCH | lch(35.66, 66.44, 294.90°) |
| OKLab | oklab(45.59% -0.0078 -0.174) |
| OKLCH | oklch(45.59% 0.174 267.4) |
| XYZ | xyz(11.9715, 8.8315, 45.3206) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4AB6 #B6992D
analogous
#2D8FB6 #2D4AB6 #542DB6
triadic
#2D4AB6 #B62D4A #4AB62D
tetradic
#2D4AB6 #B62D8F #B6992D #2DB654
square
#2D4AB6 #B62D8F #B6992D #2DB654
split-complementary
#2D4AB6 #B6542D #8FB62D
monochromatic
#152254 #213685 #2D4AB6 #4D6AD3 #7E93DF
Accessibility & contrast
On white
7.59
#2D4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2D4AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4AB6
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4AB6 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d4ab6; /* rgb */ color: rgb(45, 74, 182); /* oklch */ color: oklch(45.6% 0.174 267.4);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2d4ab6',
950: '#000000',
},
}SCSS
$custom: #2d4ab6; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2d4ab6",
"rgb": {
"r": 45,
"g": 74,
"b": 182
},
"hsl": {
"h": 227.299,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.45592,
"c": 0.17418,
"h": 267.4
},
"luminance": 0.08833
}Semantic roles & 50–950 ramp
primary
#2D4AB6
secondary
#C8B777
accent
#C244E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82