#2E56A2#2E56A2
#2E56A2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.131 H 261.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E56A2 |
|---|---|
| RGB | rgb(46, 86, 162) |
| HSL | hsl(219, 56%, 41%) |
| HSV | hsv(219, 72%, 64%) |
| CMYK | cmyk(71.6%, 46.9%, 0%, 36.5%) |
| CIE-LAB | lab(37.56, 12.60, -45.30) |
| CIE-LCH | lch(37.56, 47.02, 285.55°) |
| OKLab | oklab(46.59% -0.0187 -0.1298) |
| OKLCH | oklch(46.59% 0.131 261.8) |
| XYZ | xyz(10.9738, 9.8439, 35.4971) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.88
Dusk Blue
#26538D
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 3.36
Light Navy Blue
#2E5A88
ΔE00 4.23
Dusky Blue
#475F94
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E56A2 #A27A2E
analogous
#2E90A2 #2E56A2 #402EA2
triadic
#2E56A2 #A22E56 #56A22E
tetradic
#2E56A2 #A22E90 #A27A2E #2EA240
square
#2E56A2 #A22E90 #A27A2E #2EA240
split-complementary
#2E56A2 #A2402E #90A22E
monochromatic
#132343 #203D72 #2E56A2 #4372CA #7396D7
Accessibility & contrast
On white
7.07
#2E56A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E56A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E56A2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E56A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E56A2 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e56a2; /* rgb */ color: rgb(46, 86, 162); /* oklch */ color: oklch(46.6% 0.131 261.8);
Tailwind
colors: {
custom: {
50: '#7585be',
500: '#2e56a2',
950: '#000000',
},
}SCSS
$custom: #2e56a2; $custom-light: #7585be; $custom-dark: #000000;
JSON
{
"hex": "#2e56a2",
"rgb": {
"r": 46,
"g": 86,
"b": 162
},
"hsl": {
"h": 219.31,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.46587,
"c": 0.13113,
"h": 261.8
},
"luminance": 0.09845
}Semantic roles & 50–950 ramp
primary
#2E56A2
secondary
#BFA36D
accent
#AB49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81