#2B509E#2B509E
#2B509E is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.134 H 263.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B509E |
|---|---|
| RGB | rgb(43, 80, 158) |
| HSL | hsl(221, 57%, 39%) |
| HSV | hsv(221, 73%, 62%) |
| CMYK | cmyk(72.8%, 49.4%, 0%, 38%) |
| CIE-LAB | lab(35.44, 14.60, -46.33) |
| CIE-LCH | lch(35.44, 48.57, 287.50°) |
| OKLab | oklab(44.84% -0.0163 -0.133) |
| OKLCH | oklch(44.84% 0.134 263) |
| XYZ | xyz(10.0343, 8.7185, 33.4951) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.22
Dusk Blue
#26538D
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 3.66
Denim Blue
#3B5B92
ΔE00 4.15
Light Navy Blue
#2E5A88
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B509E #9E792B
analogous
#2B8A9E #2B509E #402B9E
triadic
#2B509E #9E2B50 #509E2B
tetradic
#2B509E #9E2B8A #9E792B #2B9E40
square
#2B509E #9E2B8A #9E792B #2B9E40
split-complementary
#2B509E #9E402B #8A9E2B
monochromatic
#111F3E #1E386E #2B509E #3C6ACA #6C8FD7
Accessibility & contrast
On white
7.65
#2B509E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2B509E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B509E
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B509E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B509E | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b509e; /* rgb */ color: rgb(43, 80, 158); /* oklch */ color: oklch(44.8% 0.134 263.0);
Tailwind
colors: {
custom: {
50: '#7480bb',
500: '#2b509e',
950: '#000000',
},
}SCSS
$custom: #2b509e; $custom-light: #7480bb; $custom-dark: #000000;
JSON
{
"hex": "#2b509e",
"rgb": {
"r": 43,
"g": 80,
"b": 158
},
"hsl": {
"h": 220.696,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.44839,
"c": 0.13395,
"h": 263
},
"luminance": 0.0872
}Semantic roles & 50–950 ramp
primary
#2B509E
secondary
#BEA267
accent
#AF47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81