#2B5097#2B5097
#2B5097 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.124 H 261.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5097 |
|---|---|
| RGB | rgb(43, 80, 151) |
| HSL | hsl(219, 56%, 38%) |
| HSV | hsv(219, 72%, 59%) |
| CMYK | cmyk(71.5%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.97, 11.92, -42.85) |
| CIE-LCH | lch(34.97, 44.48, 285.54°) |
| OKLab | oklab(44.33% -0.0174 -0.1227) |
| OKLCH | oklch(44.33% 0.124 261.9) |
| XYZ | xyz(9.4488, 8.4843, 30.4118) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 2.75
Denim Blue
#3B5B92
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.16
Sapphire
#0F52BA
ΔE00 4.45
Light Navy
#155084
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5097 #97722B
analogous
#2B8697 #2B5097 #3C2B97
triadic
#2B5097 #972B50 #50972B
tetradic
#2B5097 #972B86 #97722B #2B973C
square
#2B5097 #972B86 #97722B #2B973C
split-complementary
#2B5097 #973C2B #86972B
monochromatic
#101E38 #1D3767 #2B5097 #3969C7 #688DD4
Accessibility & contrast
On white
7.79
#2B5097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2B5097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5097
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5097 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b5097; /* rgb */ color: rgb(43, 80, 151); /* oklch */ color: oklch(44.3% 0.124 261.9);
Tailwind
colors: {
custom: {
50: '#7280b6',
500: '#2b5097',
950: '#000000',
},
}SCSS
$custom: #2b5097; $custom-light: #7280b6; $custom-dark: #000000;
JSON
{
"hex": "#2b5097",
"rgb": {
"r": 43,
"g": 80,
"b": 151
},
"hsl": {
"h": 219.444,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.44333,
"c": 0.12396,
"h": 261.9
},
"luminance": 0.08485
}Semantic roles & 50–950 ramp
primary
#2B5097
secondary
#BB9D63
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80