#2B57A2#2B57A2
#2B57A2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.131 H 260.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2B57A2 |
|---|---|
| RGB | rgb(43, 87, 162) |
| HSL | hsl(218, 58%, 40%) |
| HSV | hsv(218, 73%, 64%) |
| CMYK | cmyk(73.5%, 46.3%, 0%, 36.5%) |
| CIE-LAB | lab(37.73, 11.50, -45.04) |
| CIE-LCH | lch(37.73, 46.48, 284.33°) |
| OKLab | oklab(46.68% -0.022 -0.129) |
| OKLCH | oklch(46.68% 0.131 260.3) |
| XYZ | xyz(10.9237, 9.9374, 35.5178) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.85
Dusk Blue
#26538D
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 3.44
Light Navy Blue
#2E5A88
ΔE00 3.84
Denim
#1560BD
ΔE00 4.51
Dusky Blue
#475F94
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B57A2 #A2762B
analogous
#2B93A2 #2B57A2 #3A2BA2
triadic
#2B57A2 #A22B57 #57A22B
tetradic
#2B57A2 #A22B93 #A2762B #2BA23A
square
#2B57A2 #A22B93 #A2762B #2BA23A
split-complementary
#2B57A2 #A23A2B #93A22B
monochromatic
#112341 #1E3D72 #2B57A2 #3E73CC #6F96D9
Accessibility & contrast
On white
7.03
#2B57A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2B57A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B57A2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B57A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B57A2 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#1754A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b57a2; /* rgb */ color: rgb(43, 87, 162); /* oklch */ color: oklch(46.7% 0.131 260.3);
Tailwind
colors: {
custom: {
50: '#7485be',
500: '#2b57a2',
950: '#000000',
},
}SCSS
$custom: #2b57a2; $custom-light: #7485be; $custom-dark: #000000;
JSON
{
"hex": "#2b57a2",
"rgb": {
"r": 43,
"g": 87,
"b": 162
},
"hsl": {
"h": 217.815,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.46683,
"c": 0.1309,
"h": 260.3
},
"luminance": 0.09939
}Semantic roles & 50–950 ramp
primary
#2B57A2
secondary
#C0A069
accent
#A847E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81