#2B509F#2B509F
#2B509F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.135 H 263.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B509F |
|---|---|
| RGB | rgb(43, 80, 159) |
| HSL | hsl(221, 57%, 40%) |
| HSV | hsv(221, 73%, 62%) |
| CMYK | cmyk(73%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.50, 14.99, -46.82) |
| CIE-LCH | lch(35.50, 49.16, 287.75°) |
| OKLab | oklab(44.91% -0.0161 -0.1344) |
| OKLCH | oklch(44.91% 0.135 263.2) |
| XYZ | xyz(10.1207, 8.7530, 33.9503) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 3.56
Cobalt
#0047AB
ΔE00 3.57
Denim Blue
#3B5B92
ΔE00 4.20
Light Navy Blue
#2E5A88
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B509F #9F7A2B
analogous
#2B8A9F #2B509F #402B9F
triadic
#2B509F #9F2B50 #509F2B
tetradic
#2B509F #9F2B8A #9F7A2B #2B9F40
square
#2B509F #9F2B8A #9F7A2B #2B9F40
split-complementary
#2B509F #9F402B #8A9F2B
monochromatic
#11203F #1E386F #2B509F #3D6ACA #6D8FD7
Accessibility & contrast
On white
7.63
#2B509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2B509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B509F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B509F | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b509f; /* rgb */ color: rgb(43, 80, 159); /* oklch */ color: oklch(44.9% 0.135 263.2);
Tailwind
colors: {
custom: {
50: '#7480bc',
500: '#2b509f',
950: '#000000',
},
}SCSS
$custom: #2b509f; $custom-light: #7480bc; $custom-dark: #000000;
JSON
{
"hex": "#2b509f",
"rgb": {
"r": 43,
"g": 80,
"b": 159
},
"hsl": {
"h": 220.862,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.44912,
"c": 0.13537,
"h": 263.2
},
"luminance": 0.08754
}Semantic roles & 50–950 ramp
primary
#2B509F
secondary
#BEA367
accent
#B047E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81