#2E59A8#2E59A8
#2E59A8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.136 H 261.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E59A8 |
|---|---|
| RGB | rgb(46, 89, 168) |
| HSL | hsl(219, 57%, 42%) |
| HSV | hsv(219, 73%, 66%) |
| CMYK | cmyk(72.6%, 47%, 0%, 34.1%) |
| CIE-LAB | lab(38.81, 12.91, -46.86) |
| CIE-LCH | lch(38.81, 48.61, 285.40°) |
| OKLab | oklab(47.68% -0.0204 -0.1343) |
| OKLCH | oklch(47.68% 0.136 261.3) |
| XYZ | xyz(11.7644, 10.5515, 38.4548) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 3.28
Denim
#1560BD
ΔE00 3.84
Dusk Blue
#26538D
ΔE00 4.03
Light Navy Blue
#2E5A88
ΔE00 4.39
Dusky Blue
#475F94
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E59A8 #A87D2E
analogous
#2E96A8 #2E59A8 #402EA8
triadic
#2E59A8 #A82E59 #59A82E
tetradic
#2E59A8 #A82E96 #A87D2E #2EA840
square
#2E59A8 #A82E96 #A87D2E #2EA840
split-complementary
#2E59A8 #A8402E #96A82E
monochromatic
#142648 #214078 #2E59A8 #4776CD #779ADA
Accessibility & contrast
On white
6.75
#2E59A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E59A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E59A8
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E59A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E59A8 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3061AB
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e59a8; /* rgb */ color: rgb(46, 89, 168); /* oklch */ color: oklch(47.7% 0.136 261.3);
Tailwind
colors: {
custom: {
50: '#7787c2',
500: '#2e59a8',
950: '#000000',
},
}SCSS
$custom: #2e59a8; $custom-light: #7787c2; $custom-dark: #000000;
JSON
{
"hex": "#2e59a8",
"rgb": {
"r": 46,
"g": 89,
"b": 168
},
"hsl": {
"h": 218.852,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.47675,
"c": 0.13588,
"h": 261.3
},
"luminance": 0.10553
}Semantic roles & 50–950 ramp
primary
#2E59A8
secondary
#C2A570
accent
#AA48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81