#2D518C#2D518C
#2D518C is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.106 H 259.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D518C |
|---|---|
| RGB | rgb(45, 81, 140) |
| HSL | hsl(217, 51%, 36%) |
| HSV | hsv(217, 68%, 55%) |
| CMYK | cmyk(67.9%, 42.1%, 0%, 45.1%) |
| CIE-LAB | lab(34.67, 7.41, -36.64) |
| CIE-LCH | lch(34.67, 37.38, 281.43°) |
| OKLab | oklab(43.9% -0.0188 -0.1044) |
| OKLCH | oklch(43.9% 0.106 259.8) |
| XYZ | xyz(8.7566, 8.3353, 25.9533) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.61
Cobalt (survey)
#1E488F
ΔE00 3.04
Denim Blue
#3B5B92
ΔE00 3.46
Light Navy
#155084
ΔE00 3.78
Light Navy Blue
#2E5A88
ΔE00 3.88
Cobalt
#0047AB
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D518C #8C682D
analogous
#2D818C #2D518C #392D8C
triadic
#2D518C #8C2D51 #518C2D
tetradic
#2D518C #8C2D81 #8C682D #2D8C39
square
#2D518C #8C2D81 #8C682D #2D8C39
split-complementary
#2D518C #8C392D #818C2D
monochromatic
#0F1B2F #1E365E #2D518C #3C6CBA #668DCE
Accessibility & contrast
On white
7.87
#2D518C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2D518C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D518C
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D518C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D518C | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d518c; /* rgb */ color: rgb(45, 81, 140); /* oklch */ color: oklch(43.9% 0.106 259.8);
Tailwind
colors: {
custom: {
50: '#7181ae',
500: '#2d518c',
950: '#000000',
},
}SCSS
$custom: #2d518c; $custom-light: #7181ae; $custom-dark: #000000;
JSON
{
"hex": "#2d518c",
"rgb": {
"r": 45,
"g": 81,
"b": 140
},
"hsl": {
"h": 217.263,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.43904,
"c": 0.10611,
"h": 259.8
},
"luminance": 0.08336
}Semantic roles & 50–950 ramp
primary
#2D518C
secondary
#B49560
accent
#A54DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F