#2D4A7C#2D4A7C
#2D4A7C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.091 H 260.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4A7C |
|---|---|
| RGB | rgb(45, 74, 124) |
| HSL | hsl(218, 47%, 33%) |
| HSV | hsv(218, 64%, 49%) |
| CMYK | cmyk(63.7%, 40.3%, 0%, 51.4%) |
| CIE-LAB | lab(31.60, 6.07, -31.66) |
| CIE-LCH | lch(31.60, 32.23, 280.85°) |
| OKLab | oklab(41.22% -0.0148 -0.0899) |
| OKLCH | oklch(41.22% 0.091 260.6) |
| XYZ | xyz(7.1678, 6.9100, 20.0209) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.10
Twilight Blue
#0A437A
ΔE00 3.97
Dusk Blue
#26538D
ΔE00 4.11
Darkish Blue
#014182
ΔE00 4.26
Light Navy
#155084
ΔE00 4.81
Prussian Blue
#004577
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4A7C #7C5F2D
analogous
#2D717C #2D4A7C #372D7C
triadic
#2D4A7C #7C2D4A #4A7C2D
tetradic
#2D4A7C #7C2D71 #7C5F2D #2D7C37
square
#2D4A7C #7C2D71 #7C5F2D #2D7C37
split-complementary
#2D4A7C #7C372D #717C2D
monochromatic
#0C1422 #1D2F4F #2D4A7C #3D65A9 #5F84C5
Accessibility & contrast
On white
8.82
#2D4A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2D4A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4A7C
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4A7C | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d4a7c; /* rgb */ color: rgb(45, 74, 124); /* oklch */ color: oklch(41.2% 0.091 260.6);
Tailwind
colors: {
custom: {
50: '#6e7ca2',
500: '#2d4a7c',
950: '#000000',
},
}SCSS
$custom: #2d4a7c; $custom-light: #6e7ca2; $custom-dark: #000000;
JSON
{
"hex": "#2d4a7c",
"rgb": {
"r": 45,
"g": 74,
"b": 124
},
"hsl": {
"h": 217.975,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.41218,
"c": 0.09115,
"h": 260.6
},
"luminance": 0.06911
}Semantic roles & 50–950 ramp
primary
#2D4A7C
secondary
#AB8D5A
accent
#A651D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F