#2D4C8D#2D4C8D
#2D4C8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.114 H 263.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4C8D |
|---|---|
| RGB | rgb(45, 76, 141) |
| HSL | hsl(221, 52%, 36%) |
| HSV | hsv(221, 68%, 55%) |
| CMYK | cmyk(68.1%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(33.24, 11.11, -39.54) |
| CIE-LCH | lch(33.24, 41.07, 285.70°) |
| OKLab | oklab(42.82% -0.0134 -0.113) |
| OKLCH | oklch(42.82% 0.114 263.2) |
| XYZ | xyz(8.4727, 7.6490, 26.2240) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.89
Dusk Blue
#26538D
ΔE00 3.39
Cobalt
#0047AB
ΔE00 4.68
Darkish Blue
#014182
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 4.94
Twilight Blue
#0A437A
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4C8D #8D6E2D
analogous
#2D7C8D #2D4C8D #3E2D8D
triadic
#2D4C8D #8D2D4C #4C8D2D
tetradic
#2D4C8D #8D2D7C #8D6E2D #2D8D3E
square
#2D4C8D #8D2D7C #8D6E2D #2D8D3E
split-complementary
#2D4C8D #8D3E2D #7C8D2D
monochromatic
#0F1A30 #1E335F #2D4C8D #3C65BB #6688CE
Accessibility & contrast
On white
8.30
#2D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2D4C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4C8D
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4C8D | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d4c8d; /* rgb */ color: rgb(45, 76, 141); /* oklch */ color: oklch(42.8% 0.114 263.2);
Tailwind
colors: {
custom: {
50: '#717daf',
500: '#2d4c8d',
950: '#000000',
},
}SCSS
$custom: #2d4c8d; $custom-light: #717daf; $custom-dark: #000000;
JSON
{
"hex": "#2d4c8d",
"rgb": {
"r": 45,
"g": 76,
"b": 141
},
"hsl": {
"h": 220.625,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.42821,
"c": 0.11381,
"h": 263.2
},
"luminance": 0.0765
}Semantic roles & 50–950 ramp
primary
#2D4C8D
secondary
#B59A61
accent
#AD4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F