#2D4C8F#2D4C8F
#2D4C8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.117 H 263.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4C8F |
|---|---|
| RGB | rgb(45, 76, 143) |
| HSL | hsl(221, 52%, 37%) |
| HSV | hsv(221, 69%, 56%) |
| CMYK | cmyk(68.5%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(33.37, 11.87, -40.55) |
| CIE-LCH | lch(33.37, 42.25, 286.31°) |
| OKLab | oklab(42.96% -0.0131 -0.116) |
| OKLCH | oklch(42.96% 0.117 263.6) |
| XYZ | xyz(8.6228, 7.7091, 27.0149) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.89
Dusk Blue
#26538D
ΔE00 3.48
Cobalt
#0047AB
ΔE00 4.46
Darkish Blue
#014182
ΔE00 4.85
Denim Blue
#3B5B92
ΔE00 4.95
Light Navy
#155084
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4C8F #8F702D
analogous
#2D7D8F #2D4C8F #3F2D8F
triadic
#2D4C8F #8F2D4C #4C8F2D
tetradic
#2D4C8F #8F2D7D #8F702D #2D8F3F
square
#2D4C8F #8F2D7D #8F702D #2D8F3F
split-complementary
#2D4C8F #8F3F2D #7D8F2D
monochromatic
#101B32 #1E3360 #2D4C8F #3C65BE #6788CF
Accessibility & contrast
On white
8.26
#2D4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2D4C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4C8F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4C8F | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d4c8f; /* rgb */ color: rgb(45, 76, 143); /* oklch */ color: oklch(43.0% 0.117 263.6);
Tailwind
colors: {
custom: {
50: '#717db0',
500: '#2d4c8f',
950: '#000000',
},
}SCSS
$custom: #2d4c8f; $custom-light: #717db0; $custom-dark: #000000;
JSON
{
"hex": "#2d4c8f",
"rgb": {
"r": 45,
"g": 76,
"b": 143
},
"hsl": {
"h": 221.02,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.42961,
"c": 0.11674,
"h": 263.6
},
"luminance": 0.0771
}Semantic roles & 50–950 ramp
primary
#2D4C8F
secondary
#B69B62
accent
#AE4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F