#2E57AB#2E57AB
#2E57AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.143 H 262.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E57AB |
|---|---|
| RGB | rgb(46, 87, 171) |
| HSL | hsl(220, 58%, 43%) |
| HSV | hsv(220, 73%, 67%) |
| CMYK | cmyk(73.1%, 49.1%, 0%, 32.9%) |
| CIE-LAB | lab(38.44, 15.36, -49.25) |
| CIE-LCH | lch(38.44, 51.59, 287.33°) |
| OKLab | oklab(47.45% -0.0182 -0.1414) |
| OKLCH | oklch(47.45% 0.143 262.7) |
| XYZ | xyz(11.8830, 10.3362, 39.8890) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.67
Denim Blue
#3B5B92
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 4.34
Denim
#1560BD
ΔE00 4.36
Light Navy Blue
#2E5A88
ΔE00 4.98
Dusky Blue
#475F94
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E57AB #AB822E
analogous
#2E96AB #2E57AB #432EAB
triadic
#2E57AB #AB2E57 #57AB2E
tetradic
#2E57AB #AB2E96 #AB822E #2EAB43
square
#2E57AB #AB2E96 #AB822E #2EAB43
split-complementary
#2E57AB #AB432E #96AB2E
monochromatic
#14264B #213E7B #2E57AB #4874CE #7999DB
Accessibility & contrast
On white
6.85
#2E57AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2E57AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E57AB
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E57AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E57AB | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e57ab; /* rgb */ color: rgb(46, 87, 171); /* oklch */ color: oklch(47.4% 0.143 262.7);
Tailwind
colors: {
custom: {
50: '#7785c5',
500: '#2e57ab',
950: '#000000',
},
}SCSS
$custom: #2e57ab; $custom-light: #7785c5; $custom-dark: #000000;
JSON
{
"hex": "#2e57ab",
"rgb": {
"r": 46,
"g": 87,
"b": 171
},
"hsl": {
"h": 220.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.4745,
"c": 0.14254,
"h": 262.7
},
"luminance": 0.10338
}Semantic roles & 50–950 ramp
primary
#2E57AB
secondary
#C3A872
accent
#AE47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82