#2B519E#2B519E
#2B519E is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.133 H 262.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2B519E |
|---|---|
| RGB | rgb(43, 81, 158) |
| HSL | hsl(220, 57%, 39%) |
| HSV | hsv(220, 73%, 62%) |
| CMYK | cmyk(72.8%, 48.7%, 0%, 38%) |
| CIE-LAB | lab(35.73, 13.94, -45.86) |
| CIE-LCH | lch(35.73, 47.93, 286.90°) |
| OKLab | oklab(45.06% -0.0172 -0.1316) |
| OKLCH | oklch(45.06% 0.133 262.6) |
| XYZ | xyz(10.1080, 8.8660, 33.5197) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.07
Cobalt (survey)
#1E488F
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.59
Denim Blue
#3B5B92
ΔE00 3.86
Cobalt
#0047AB
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B519E #9E782B
analogous
#2B8B9E #2B519E #3F2B9E
triadic
#2B519E #9E2B51 #519E2B
tetradic
#2B519E #9E2B8B #9E782B #2B9E3F
square
#2B519E #9E2B8B #9E782B #2B9E3F
split-complementary
#2B519E #9E3F2B #8B9E2B
monochromatic
#11203E #1E386E #2B519E #3C6BCA #6C90D7
Accessibility & contrast
On white
7.57
#2B519E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2B519E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B519E
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B519E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B519E | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#064F9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b519e; /* rgb */ color: rgb(43, 81, 158); /* oklch */ color: oklch(45.1% 0.133 262.6);
Tailwind
colors: {
custom: {
50: '#7481bb',
500: '#2b519e',
950: '#000000',
},
}SCSS
$custom: #2b519e; $custom-light: #7481bb; $custom-dark: #000000;
JSON
{
"hex": "#2b519e",
"rgb": {
"r": 43,
"g": 81,
"b": 158
},
"hsl": {
"h": 220.174,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.45059,
"c": 0.13269,
"h": 262.6
},
"luminance": 0.08867
}Semantic roles & 50–950 ramp
primary
#2B519E
secondary
#BEA167
accent
#AE47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81