#2E58B9#2E58B9
#2E58B9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.161 H 263.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E58B9 |
|---|---|
| RGB | rgb(46, 88, 185) |
| HSL | hsl(222, 60%, 45%) |
| HSV | hsv(222, 75%, 73%) |
| CMYK | cmyk(75.1%, 52.4%, 0%, 27.5%) |
| CIE-LAB | lab(39.68, 20.02, -55.49) |
| CIE-LCH | lch(39.68, 58.99, 289.84°) |
| OKLab | oklab(48.71% -0.0173 -0.1597) |
| OKLCH | oklch(48.71% 0.161 263.8) |
| XYZ | xyz(13.3703, 11.0616, 47.3200) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.43
Denim
#1560BD
ΔE00 4.09
Denim Blue
#3B5B92
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.81
Dusky Blue
#475F94
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E58B9 #B98F2E
analogous
#2E9DB9 #2E58B9 #4A2EB9
triadic
#2E58B9 #B92E58 #58B92E
tetradic
#2E58B9 #B92E9D #B98F2E #2EB94A
square
#2E58B9 #B92E9D #B98F2E #2EB94A
split-complementary
#2E58B9 #B94A2E #9DB92E
monochromatic
#162957 #224188 #2E58B9 #5178D4 #829EE0
Accessibility & contrast
On white
6.54
#2E58B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2E58B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E58B9
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E58B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E58B9 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e58b9; /* rgb */ color: rgb(46, 88, 185); /* oklch */ color: oklch(48.7% 0.161 263.8);
Tailwind
colors: {
custom: {
50: '#7a86cf',
500: '#2e58b9',
950: '#000000',
},
}SCSS
$custom: #2e58b9; $custom-light: #7a86cf; $custom-dark: #000000;
JSON
{
"hex": "#2e58b9",
"rgb": {
"r": 46,
"g": 88,
"b": 185
},
"hsl": {
"h": 221.871,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.48707,
"c": 0.16066,
"h": 263.8
},
"luminance": 0.11063
}Semantic roles & 50–950 ramp
primary
#2E58B9
secondary
#C9B17A
accent
#B344E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82