#2B56A5#2B56A5
#2B56A5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.136 H 261.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56A5 |
|---|---|
| RGB | rgb(43, 86, 165) |
| HSL | hsl(219, 59%, 41%) |
| HSV | hsv(219, 74%, 65%) |
| CMYK | cmyk(73.9%, 47.9%, 0%, 35.3%) |
| CIE-LAB | lab(37.63, 13.31, -46.98) |
| CIE-LCH | lch(37.63, 48.83, 285.82°) |
| OKLab | oklab(46.67% -0.0205 -0.1348) |
| OKLCH | oklch(46.67% 0.136 261.3) |
| XYZ | xyz(11.1131, 9.8846, 36.9122) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.98
Denim Blue
#3B5B92
ΔE00 3.22
Dusk Blue
#26538D
ΔE00 3.40
Light Navy Blue
#2E5A88
ΔE00 4.33
Denim
#1560BD
ΔE00 4.67
Cobalt
#0047AB
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56A5 #A57A2B
analogous
#2B93A5 #2B56A5 #3D2BA5
triadic
#2B56A5 #A52B56 #56A52B
tetradic
#2B56A5 #A52B93 #A57A2B #2BA53D
square
#2B56A5 #A52B93 #A57A2B #2BA53D
split-complementary
#2B56A5 #A53D2B #93A52B
monochromatic
#122344 #1E3D74 #2B56A5 #4072CD #7196DA
Accessibility & contrast
On white
7.05
#2B56A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2B56A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B56A5
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56A5 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b56a5; /* rgb */ color: rgb(43, 86, 165); /* oklch */ color: oklch(46.7% 0.136 261.3);
Tailwind
colors: {
custom: {
50: '#7585c0',
500: '#2b56a5',
950: '#000000',
},
}SCSS
$custom: #2b56a5; $custom-light: #7585c0; $custom-dark: #000000;
JSON
{
"hex": "#2b56a5",
"rgb": {
"r": 43,
"g": 86,
"b": 165
},
"hsl": {
"h": 218.852,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.46673,
"c": 0.13634,
"h": 261.3
},
"luminance": 0.09886
}Semantic roles & 50–950 ramp
primary
#2B56A5
secondary
#C1A36B
accent
#AB46E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81