#2B5791#2B5791
#2B5791 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.107 H 256.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5791 |
|---|---|
| RGB | rgb(43, 87, 145) |
| HSL | hsl(214, 54%, 37%) |
| HSV | hsv(214, 70%, 57%) |
| CMYK | cmyk(70.3%, 40%, 0%, 43.1%) |
| CIE-LAB | lab(36.69, 5.02, -36.47) |
| CIE-LCH | lch(36.69, 36.81, 277.84°) |
| OKLab | oklab(45.55% -0.0255 -0.1039) |
| OKLCH | oklch(45.55% 0.107 256.2) |
| XYZ | xyz(9.5134, 9.3733, 28.0904) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.38
Light Navy Blue
#2E5A88
ΔE00 2.01
Denim Blue
#3B5B92
ΔE00 2.53
Light Navy
#155084
ΔE00 3.54
Denim (survey)
#3B638C
ΔE00 4.54
Dusky Blue
#475F94
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5791 #91652B
analogous
#2B8A91 #2B5791 #322B91
triadic
#2B5791 #912B57 #57912B
tetradic
#2B5791 #912B8A #91652B #2B9132
square
#2B5791 #912B8A #91652B #2B9132
split-complementary
#2B5791 #91322B #8A912B
monochromatic
#0F1E33 #1D3B62 #2B5791 #3973C0 #6594D1
Accessibility & contrast
On white
7.30
#2B5791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2B5791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5791
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5791 | 1.00 | 7.30 | 2.87 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5B93
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b5791; /* rgb */ color: rgb(43, 87, 145); /* oklch */ color: oklch(45.5% 0.107 256.2);
Tailwind
colors: {
custom: {
50: '#7186b1',
500: '#2b5791',
950: '#000000',
},
}SCSS
$custom: #2b5791; $custom-light: #7186b1; $custom-dark: #000000;
JSON
{
"hex": "#2b5791",
"rgb": {
"r": 43,
"g": 87,
"b": 145
},
"hsl": {
"h": 214.118,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.45545,
"c": 0.10696,
"h": 256.2
},
"luminance": 0.09374
}Semantic roles & 50–950 ramp
primary
#2B5791
secondary
#B89260
accent
#9E4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80