#2D539F#2D539F
#2D539F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.131 H 262.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D539F |
|---|---|
| RGB | rgb(45, 83, 159) |
| HSL | hsl(220, 56%, 40%) |
| HSV | hsv(220, 72%, 62%) |
| CMYK | cmyk(71.7%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.45, 13.29, -45.29) |
| CIE-LCH | lch(36.45, 47.20, 286.36°) |
| OKLab | oklab(45.66% -0.0172 -0.1298) |
| OKLCH | oklch(45.66% 0.131 262.5) |
| XYZ | xyz(10.4312, 9.2465, 34.0292) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.50
Cobalt (survey)
#1E488F
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.38
Light Navy Blue
#2E5A88
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D539F #9F792D
analogous
#2D8C9F #2D539F #402D9F
triadic
#2D539F #9F2D53 #539F2D
tetradic
#2D539F #9F2D8C #9F792D #2D9F40
square
#2D539F #9F2D8C #9F792D #2D9F40
split-complementary
#2D539F #9F402D #8C9F2D
monochromatic
#122140 #203A6F #2D539F #406EC9 #7092D6
Accessibility & contrast
On white
7.37
#2D539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2D539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D539F
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D539F | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2d539f; /* rgb */ color: rgb(45, 83, 159); /* oklch */ color: oklch(45.7% 0.131 262.5);
Tailwind
colors: {
custom: {
50: '#7482bc',
500: '#2d539f',
950: '#000000',
},
}SCSS
$custom: #2d539f; $custom-light: #7482bc; $custom-dark: #000000;
JSON
{
"hex": "#2d539f",
"rgb": {
"r": 45,
"g": 83,
"b": 159
},
"hsl": {
"h": 220,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.45663,
"c": 0.13094,
"h": 262.5
},
"luminance": 0.09248
}Semantic roles & 50–950 ramp
primary
#2D539F
secondary
#BEA26A
accent
#AD49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81