#2D519D#2D519D
#2D519D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.131 H 263.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D519D |
|---|---|
| RGB | rgb(45, 81, 157) |
| HSL | hsl(221, 55%, 40%) |
| HSV | hsv(221, 71%, 62%) |
| CMYK | cmyk(71.3%, 48.4%, 0%, 38.4%) |
| CIE-LAB | lab(35.74, 13.86, -45.23) |
| CIE-LCH | lch(35.74, 47.30, 287.03°) |
| OKLab | oklab(45.08% -0.0156 -0.1297) |
| OKLCH | oklch(45.08% 0.131 263.1) |
| XYZ | xyz(10.1083, 8.8760, 33.0723) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 3.79
Cobalt
#0047AB
ΔE00 4.00
Light Navy Blue
#2E5A88
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D519D #9D792D
analogous
#2D899D #2D519D #412D9D
triadic
#2D519D #9D2D51 #519D2D
tetradic
#2D519D #9D2D89 #9D792D #2D9D41
square
#2D519D #9D2D89 #9D792D #2D9D41
split-complementary
#2D519D #9D412D #899D2D
monochromatic
#12203E #1F386D #2D519D #3F6BC8 #6F90D6
Accessibility & contrast
On white
7.57
#2D519D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2D519D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D519D
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D519D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D519D | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d519d; /* rgb */ color: rgb(45, 81, 157); /* oklch */ color: oklch(45.1% 0.131 263.1);
Tailwind
colors: {
custom: {
50: '#7481ba',
500: '#2d519d',
950: '#000000',
},
}SCSS
$custom: #2d519d; $custom-light: #7481ba; $custom-dark: #000000;
JSON
{
"hex": "#2d519d",
"rgb": {
"r": 45,
"g": 81,
"b": 157
},
"hsl": {
"h": 220.714,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.45077,
"c": 0.13061,
"h": 263.1
},
"luminance": 0.08877
}Semantic roles & 50–950 ramp
primary
#2D519D
secondary
#BDA269
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81