#2D4CAD#2D4CAD
#2D4CAD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.159 H 266.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4CAD |
|---|---|
| RGB | rgb(45, 76, 173) |
| HSL | hsl(225, 59%, 43%) |
| HSV | hsv(225, 74%, 68%) |
| CMYK | cmyk(74%, 56.1%, 0%, 32.2%) |
| CIE-LAB | lab(35.48, 23.27, -55.21) |
| CIE-LCH | lch(35.48, 59.92, 292.85°) |
| OKLab | oklab(45.24% -0.0097 -0.1591) |
| OKLCH | oklch(45.24% 0.159 266.5) |
| XYZ | xyz(11.2068, 8.7427, 40.6239) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.93
Sapphire
#0F52BA
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 4.91
Dusk Blue
#26538D
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4CAD #AD8E2D
analogous
#2D8CAD #2D4CAD #4E2DAD
triadic
#2D4CAD #AD2D4C #4CAD2D
tetradic
#2D4CAD #AD2D8C #AD8E2D #2DAD4E
square
#2D4CAD #AD2D8C #AD8E2D #2DAD4E
split-complementary
#2D4CAD #AD4E2D #8CAD2D
monochromatic
#14214C #20377C #2D4CAD #4869CF #7891DC
Accessibility & contrast
On white
7.64
#2D4CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2D4CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4CAD
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4CAD | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d4cad; /* rgb */ color: rgb(45, 76, 173); /* oklch */ color: oklch(45.2% 0.159 266.5);
Tailwind
colors: {
custom: {
50: '#787dc6',
500: '#2d4cad',
950: '#000000',
},
}SCSS
$custom: #2d4cad; $custom-light: #787dc6; $custom-dark: #000000;
JSON
{
"hex": "#2d4cad",
"rgb": {
"r": 45,
"g": 76,
"b": 173
},
"hsl": {
"h": 225.469,
"s": 58.716,
"l": 42.745
},
"oklch": {
"l": 0.45241,
"c": 0.15943,
"h": 266.5
},
"luminance": 0.08744
}Semantic roles & 50–950 ramp
primary
#2D4CAD
secondary
#C4B072
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82