#2D4E8D#2D4E8D
#2D4E8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.111 H 262.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4E8D |
|---|---|
| RGB | rgb(45, 78, 141) |
| HSL | hsl(219, 52%, 36%) |
| HSV | hsv(219, 68%, 55%) |
| CMYK | cmyk(68.1%, 44.7%, 0%, 44.7%) |
| CIE-LAB | lab(33.83, 9.78, -38.59) |
| CIE-LCH | lch(33.83, 39.81, 284.22°) |
| OKLab | oklab(43.28% -0.0155 -0.1102) |
| OKLCH | oklch(43.28% 0.111 262) |
| XYZ | xyz(8.6126, 7.9289, 26.2707) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.22
Dusk Blue
#26538D
ΔE00 2.68
Denim Blue
#3B5B92
ΔE00 4.31
Light Navy
#155084
ΔE00 4.52
Cobalt
#0047AB
ΔE00 4.86
Darkish Blue
#014182
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4E8D #8D6C2D
analogous
#2D7E8D #2D4E8D #3C2D8D
triadic
#2D4E8D #8D2D4E #4E8D2D
tetradic
#2D4E8D #8D2D7E #8D6C2D #2D8D3C
square
#2D4E8D #8D2D7E #8D6C2D #2D8D3C
split-complementary
#2D4E8D #8D3C2D #7E8D2D
monochromatic
#0F1B30 #1E345F #2D4E8D #3C68BB #668ACE
Accessibility & contrast
On white
8.12
#2D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2D4E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4E8D
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4E8D | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2d4e8d; /* rgb */ color: rgb(45, 78, 141); /* oklch */ color: oklch(43.3% 0.111 262.0);
Tailwind
colors: {
custom: {
50: '#717faf',
500: '#2d4e8d',
950: '#000000',
},
}SCSS
$custom: #2d4e8d; $custom-light: #717faf; $custom-dark: #000000;
JSON
{
"hex": "#2d4e8d",
"rgb": {
"r": 45,
"g": 78,
"b": 141
},
"hsl": {
"h": 219.375,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.43277,
"c": 0.11128,
"h": 262
},
"luminance": 0.0793
}Semantic roles & 50–950 ramp
primary
#2D4E8D
secondary
#B59861
accent
#AA4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F