#2D508C#2D508C
#2D508C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.107 H 260.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2D508C |
|---|---|
| RGB | rgb(45, 80, 140) |
| HSL | hsl(218, 51%, 36%) |
| HSV | hsv(218, 68%, 55%) |
| CMYK | cmyk(67.9%, 42.9%, 0%, 45.1%) |
| CIE-LAB | lab(34.37, 8.07, -37.12) |
| CIE-LCH | lch(34.37, 37.99, 282.27°) |
| OKLab | oklab(43.67% -0.0178 -0.1059) |
| OKLCH | oklch(43.67% 0.107 260.5) |
| XYZ | xyz(8.6828, 8.1878, 25.9287) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.94
Cobalt (survey)
#1E488F
ΔE00 2.75
Denim Blue
#3B5B92
ΔE00 3.73
Light Navy
#155084
ΔE00 3.98
Light Navy Blue
#2E5A88
ΔE00 4.24
Cobalt
#0047AB
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D508C #8C692D
analogous
#2D808C #2D508C #3A2D8C
triadic
#2D508C #8C2D50 #508C2D
tetradic
#2D508C #8C2D80 #8C692D #2D8C3A
square
#2D508C #8C2D80 #8C692D #2D8C3A
split-complementary
#2D508C #8C3A2D #808C2D
monochromatic
#0F1B2F #1E365E #2D508C #3C6ABA #668CCE
Accessibility & contrast
On white
7.96
#2D508C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2D508C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D508C
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D508C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D508C | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34568E
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2d508c; /* rgb */ color: rgb(45, 80, 140); /* oklch */ color: oklch(43.7% 0.107 260.5);
Tailwind
colors: {
custom: {
50: '#7180ae',
500: '#2d508c',
950: '#000000',
},
}SCSS
$custom: #2d508c; $custom-light: #7180ae; $custom-dark: #000000;
JSON
{
"hex": "#2d508c",
"rgb": {
"r": 45,
"g": 80,
"b": 140
},
"hsl": {
"h": 217.895,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.43672,
"c": 0.10734,
"h": 260.5
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#2D508C
secondary
#B49560
accent
#A74DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F