#2D548C#2D548C
#2D548C is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.103 H 257.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D548C |
|---|---|
| RGB | rgb(45, 84, 140) |
| HSL | hsl(215, 51%, 36%) |
| HSV | hsv(215, 68%, 55%) |
| CMYK | cmyk(67.9%, 40%, 0%, 45.1%) |
| CIE-LAB | lab(35.58, 5.44, -35.20) |
| CIE-LCH | lch(35.58, 35.62, 278.79°) |
| OKLab | oklab(44.61% -0.022 -0.1002) |
| OKLCH | oklch(44.61% 0.103 257.6) |
| XYZ | xyz(8.9844, 8.7911, 26.0292) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.91
Light Navy Blue
#2E5A88
ΔE00 2.76
Denim Blue
#3B5B92
ΔE00 2.82
Light Navy
#155084
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.02
Dusky Blue
#475F94
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D548C #8C652D
analogous
#2D848C #2D548C #362D8C
triadic
#2D548C #8C2D54 #548C2D
tetradic
#2D548C #8C2D84 #8C652D #2D8C36
square
#2D548C #8C2D84 #8C652D #2D8C36
split-complementary
#2D548C #8C362D #848C2D
monochromatic
#0F1C2F #1E385E #2D548C #3C70BA #6690CE
Accessibility & contrast
On white
7.61
#2D548C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2D548C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D548C
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D548C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D548C | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d548c; /* rgb */ color: rgb(45, 84, 140); /* oklch */ color: oklch(44.6% 0.103 257.6);
Tailwind
colors: {
custom: {
50: '#7183ae',
500: '#2d548c',
950: '#000000',
},
}SCSS
$custom: #2d548c; $custom-light: #7183ae; $custom-dark: #000000;
JSON
{
"hex": "#2d548c",
"rgb": {
"r": 45,
"g": 84,
"b": 140
},
"hsl": {
"h": 215.368,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.44608,
"c": 0.10255,
"h": 257.6
},
"luminance": 0.08792
}Semantic roles & 50–950 ramp
primary
#2D548C
secondary
#B49260
accent
#A14DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F