#2E58A9#2E58A9
#2E58A9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.139 H 262.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2E58A9 |
|---|---|
| RGB | rgb(46, 88, 169) |
| HSL | hsl(220, 57%, 42%) |
| HSV | hsv(220, 73%, 66%) |
| CMYK | cmyk(72.8%, 47.9%, 0%, 33.7%) |
| CIE-LAB | lab(38.59, 13.95, -47.81) |
| CIE-LCH | lch(38.59, 49.81, 286.26°) |
| OKLab | oklab(47.53% -0.0194 -0.1371) |
| OKLCH | oklch(47.53% 0.139 262) |
| XYZ | xyz(11.7753, 10.4236, 38.9198) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim Blue
#3B5B92
ΔE00 3.27
Denim
#1560BD
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.10
Light Navy Blue
#2E5A88
ΔE00 4.62
Dusky Blue
#475F94
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E58A9 #A97F2E
analogous
#2E96A9 #2E58A9 #422EA9
triadic
#2E58A9 #A92E58 #58A92E
tetradic
#2E58A9 #A92E96 #A97F2E #2EA942
square
#2E58A9 #A92E96 #A97F2E #2EA942
split-complementary
#2E58A9 #A9422E #96A92E
monochromatic
#142649 #213F79 #2E58A9 #4775CD #7799DA
Accessibility & contrast
On white
6.81
#2E58A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2E58A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E58A9
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E58A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E58A9 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#0C56A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e58a9; /* rgb */ color: rgb(46, 88, 169); /* oklch */ color: oklch(47.5% 0.139 262.0);
Tailwind
colors: {
custom: {
50: '#7786c3',
500: '#2e58a9',
950: '#000000',
},
}SCSS
$custom: #2e58a9; $custom-light: #7786c3; $custom-dark: #000000;
JSON
{
"hex": "#2e58a9",
"rgb": {
"r": 46,
"g": 88,
"b": 169
},
"hsl": {
"h": 219.512,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.47525,
"c": 0.1385,
"h": 262
},
"luminance": 0.10425
}Semantic roles & 50–950 ramp
primary
#2E58A9
secondary
#C2A671
accent
#AC47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81