#2B5197#2B5197
#2B5197 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.123 H 261.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5197 |
|---|---|
| RGB | rgb(43, 81, 151) |
| HSL | hsl(219, 56%, 38%) |
| HSV | hsv(219, 72%, 59%) |
| CMYK | cmyk(71.5%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(35.27, 11.25, -42.38) |
| CIE-LCH | lch(35.27, 43.85, 284.87°) |
| OKLab | oklab(44.56% -0.0183 -0.1213) |
| OKLCH | oklch(44.56% 0.123 261.4) |
| XYZ | xyz(9.5226, 8.6318, 30.4364) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.26
Cobalt (survey)
#1E488F
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 3.56
Cobalt
#0047AB
ΔE00 4.38
Light Navy Blue
#2E5A88
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5197 #97712B
analogous
#2B8797 #2B5197 #3B2B97
triadic
#2B5197 #972B51 #51972B
tetradic
#2B5197 #972B87 #97712B #2B973B
square
#2B5197 #972B87 #97712B #2B973B
split-complementary
#2B5197 #973B2B #87972B
monochromatic
#101E38 #1D3767 #2B5197 #396BC7 #688ED4
Accessibility & contrast
On white
7.70
#2B5197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2B5197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5197
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5197 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b5197; /* rgb */ color: rgb(43, 81, 151); /* oklch */ color: oklch(44.6% 0.123 261.4);
Tailwind
colors: {
custom: {
50: '#7281b6',
500: '#2b5197',
950: '#000000',
},
}SCSS
$custom: #2b5197; $custom-light: #7281b6; $custom-dark: #000000;
JSON
{
"hex": "#2b5197",
"rgb": {
"r": 43,
"g": 81,
"b": 151
},
"hsl": {
"h": 218.889,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.44559,
"c": 0.1227,
"h": 261.4
},
"luminance": 0.08633
}Semantic roles & 50–950 ramp
primary
#2B5197
secondary
#BB9C63
accent
#AA49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80