#2E58A8#2E58A8
#2E58A8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.137 H 261.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E58A8 |
|---|---|
| RGB | rgb(46, 88, 168) |
| HSL | hsl(219, 57%, 42%) |
| HSV | hsv(219, 73%, 66%) |
| CMYK | cmyk(72.6%, 47.6%, 0%, 34.1%) |
| CIE-LAB | lab(38.53, 13.57, -47.33) |
| CIE-LCH | lch(38.53, 49.23, 286.00°) |
| OKLab | oklab(47.45% -0.0195 -0.1357) |
| OKLCH | oklch(47.45% 0.137 261.8) |
| XYZ | xyz(11.6818, 10.3862, 38.4273) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Denim Blue
#3B5B92
ΔE00 3.17
Dusk Blue
#26538D
ΔE00 3.98
Denim
#1560BD
ΔE00 4.14
Light Navy Blue
#2E5A88
ΔE00 4.52
Dusky Blue
#475F94
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E58A8 #A87E2E
analogous
#2E95A8 #2E58A8 #412EA8
triadic
#2E58A8 #A82E58 #58A82E
tetradic
#2E58A8 #A82E95 #A87E2E #2EA841
square
#2E58A8 #A82E95 #A87E2E #2EA841
split-complementary
#2E58A8 #A8412E #95A82E
monochromatic
#142648 #213F78 #2E58A8 #4775CD #7799DA
Accessibility & contrast
On white
6.82
#2E58A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2E58A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E58A8
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E58A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E58A8 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#0F55A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e58a8; /* rgb */ color: rgb(46, 88, 168); /* oklch */ color: oklch(47.5% 0.137 261.8);
Tailwind
colors: {
custom: {
50: '#7786c2',
500: '#2e58a8',
950: '#000000',
},
}SCSS
$custom: #2e58a8; $custom-light: #7786c2; $custom-dark: #000000;
JSON
{
"hex": "#2e58a8",
"rgb": {
"r": 46,
"g": 88,
"b": 168
},
"hsl": {
"h": 219.344,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.47454,
"c": 0.1371,
"h": 261.8
},
"luminance": 0.10387
}Semantic roles & 50–950 ramp
primary
#2E58A8
secondary
#C2A670
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81