#2E57A4#2E57A4
#2E57A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.133 H 261.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E57A4 |
|---|---|
| RGB | rgb(46, 87, 164) |
| HSL | hsl(219, 56%, 41%) |
| HSV | hsv(219, 72%, 64%) |
| CMYK | cmyk(72%, 47%, 0%, 35.7%) |
| CIE-LAB | lab(37.98, 12.70, -45.83) |
| CIE-LCH | lch(37.98, 47.55, 285.50°) |
| OKLab | oklab(46.95% -0.0193 -0.1313) |
| OKLCH | oklch(46.95% 0.133 261.7) |
| XYZ | xyz(11.2334, 10.0764, 36.4677) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.28
Dusk Blue
#26538D
ΔE00 3.47
Light Navy Blue
#2E5A88
ΔE00 4.24
Denim
#1560BD
ΔE00 4.59
Dusky Blue
#475F94
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E57A4 #A47B2E
analogous
#2E92A4 #2E57A4 #402EA4
triadic
#2E57A4 #A42E57 #57A42E
tetradic
#2E57A4 #A42E92 #A47B2E #2EA440
square
#2E57A4 #A42E92 #A47B2E #2EA440
split-complementary
#2E57A4 #A4402E #92A42E
monochromatic
#132444 #213E74 #2E57A4 #4573CB #7497D8
Accessibility & contrast
On white
6.96
#2E57A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2E57A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E57A4
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E57A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E57A4 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#1554A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2e57a4; /* rgb */ color: rgb(46, 87, 164); /* oklch */ color: oklch(46.9% 0.133 261.7);
Tailwind
colors: {
custom: {
50: '#7685bf',
500: '#2e57a4',
950: '#000000',
},
}SCSS
$custom: #2e57a4; $custom-light: #7685bf; $custom-dark: #000000;
JSON
{
"hex": "#2e57a4",
"rgb": {
"r": 46,
"g": 87,
"b": 164
},
"hsl": {
"h": 219.153,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.4695,
"c": 0.13272,
"h": 261.7
},
"luminance": 0.10078
}Semantic roles & 50–950 ramp
primary
#2E57A4
secondary
#C0A36E
accent
#AB48DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81