#2D4C9D#2D4C9D
#2D4C9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.137 H 265.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4C9D |
|---|---|
| RGB | rgb(45, 76, 157) |
| HSL | hsl(223, 55%, 40%) |
| HSV | hsv(223, 71%, 62%) |
| CMYK | cmyk(71.3%, 51.6%, 0%, 38.4%) |
| CIE-LAB | lab(34.31, 17.19, -47.53) |
| CIE-LCH | lch(34.31, 50.54, 289.88°) |
| OKLab | oklab(43.99% -0.0111 -0.1365) |
| OKLCH | oklch(43.99% 0.137 265.4) |
| XYZ | xyz(9.7503, 8.1601, 32.9530) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.15
Sapphire
#0F52BA
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 4.47
Denim Blue
#3B5B92
ΔE00 5.36
Darkish Blue
#014182
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4C9D #9D7E2D
analogous
#2D849D #2D4C9D #462D9D
triadic
#2D4C9D #9D2D4C #4C9D2D
tetradic
#2D4C9D #9D2D84 #9D7E2D #2D9D46
square
#2D4C9D #9D2D84 #9D7E2D #2D9D46
split-complementary
#2D4C9D #9D462D #849D2D
monochromatic
#121E3E #1F356D #2D4C9D #3F65C8 #6F8BD6
Accessibility & contrast
On white
7.98
#2D4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2D4C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4C9D
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4C9D | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2d4c9d; /* rgb */ color: rgb(45, 76, 157); /* oklch */ color: oklch(44.0% 0.137 265.4);
Tailwind
colors: {
custom: {
50: '#747dba',
500: '#2d4c9d',
950: '#000000',
},
}SCSS
$custom: #2d4c9d; $custom-light: #747dba; $custom-dark: #000000;
JSON
{
"hex": "#2d4c9d",
"rgb": {
"r": 45,
"g": 76,
"b": 157
},
"hsl": {
"h": 223.393,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.43985,
"c": 0.13698,
"h": 265.4
},
"luminance": 0.08161
}Semantic roles & 50–950 ramp
primary
#2D4C9D
secondary
#BDA669
accent
#B549DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81