#2D538F#2D538F
#2D538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.108 H 259.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2D538F |
|---|---|
| RGB | rgb(45, 83, 143) |
| HSL | hsl(217, 52%, 37%) |
| HSV | hsv(217, 69%, 56%) |
| CMYK | cmyk(68.5%, 42%, 0%, 43.9%) |
| CIE-LAB | lab(35.45, 7.22, -37.22) |
| CIE-LCH | lch(35.45, 37.92, 280.98°) |
| OKLab | oklab(44.57% -0.0203 -0.1061) |
| OKLCH | oklch(44.57% 0.108 259.2) |
| XYZ | xyz(9.1316, 8.7267, 27.1844) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.24
Denim Blue
#3B5B92
ΔE00 2.91
Light Navy Blue
#2E5A88
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 3.60
Light Navy
#155084
ΔE00 3.74
Dusky Blue
#475F94
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D538F #8F692D
analogous
#2D848F #2D538F #382D8F
triadic
#2D538F #8F2D53 #538F2D
tetradic
#2D538F #8F2D84 #8F692D #2D8F38
square
#2D538F #8F2D84 #8F692D #2D8F38
split-complementary
#2D538F #8F382D #848F2D
monochromatic
#101D32 #1E3860 #2D538F #3C6EBE #6790CF
Accessibility & contrast
On white
7.65
#2D538F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2D538F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D538F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D538F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D538F | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d538f; /* rgb */ color: rgb(45, 83, 143); /* oklch */ color: oklch(44.6% 0.108 259.2);
Tailwind
colors: {
custom: {
50: '#7182b0',
500: '#2d538f',
950: '#000000',
},
}SCSS
$custom: #2d538f; $custom-light: #7182b0; $custom-dark: #000000;
JSON
{
"hex": "#2d538f",
"rgb": {
"r": 45,
"g": 83,
"b": 143
},
"hsl": {
"h": 216.735,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.44567,
"c": 0.10804,
"h": 259.2
},
"luminance": 0.08728
}Semantic roles & 50–950 ramp
primary
#2D538F
secondary
#B69562
accent
#A44CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F