#2D509C#2D509C
#2D509C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.130 H 263.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2D509C |
|---|---|
| RGB | rgb(45, 80, 156) |
| HSL | hsl(221, 55%, 39%) |
| HSV | hsv(221, 71%, 61%) |
| CMYK | cmyk(71.2%, 48.7%, 0%, 38.8%) |
| CIE-LAB | lab(35.39, 14.14, -45.20) |
| CIE-LCH | lch(35.39, 47.36, 287.37°) |
| OKLab | oklab(44.78% -0.0149 -0.1296) |
| OKLCH | oklch(44.78% 0.13 263.5) |
| XYZ | xyz(9.9495, 8.6945, 32.5999) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.16
Dusk Blue
#26538D
ΔE00 3.27
Cobalt
#0047AB
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 3.98
Denim Blue
#3B5B92
ΔE00 4.03
Light Navy Blue
#2E5A88
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D509C #9C792D
analogous
#2D889C #2D509C #422D9C
triadic
#2D509C #9C2D50 #509C2D
tetradic
#2D509C #9C2D88 #9C792D #2D9C42
square
#2D509C #9C2D88 #9C792D #2D9C42
split-complementary
#2D509C #9C422D #889C2D
monochromatic
#121F3D #1F386D #2D509C #3F6AC8 #6E8FD5
Accessibility & contrast
On white
7.67
#2D509C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2D509C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D509C
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D509C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D509C | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27599F
Deuteranopia (green-blind)
#0A4E9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d509c; /* rgb */ color: rgb(45, 80, 156); /* oklch */ color: oklch(44.8% 0.130 263.5);
Tailwind
colors: {
custom: {
50: '#7480ba',
500: '#2d509c',
950: '#000000',
},
}SCSS
$custom: #2d509c; $custom-light: #7480ba; $custom-dark: #000000;
JSON
{
"hex": "#2d509c",
"rgb": {
"r": 45,
"g": 80,
"b": 156
},
"hsl": {
"h": 221.081,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.44783,
"c": 0.13044,
"h": 263.5
},
"luminance": 0.08696
}Semantic roles & 50–950 ramp
primary
#2D509C
secondary
#BCA268
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80