#2E56BA#2E56BA
#2E56BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.164 H 264.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E56BA |
|---|---|
| RGB | rgb(46, 86, 186) |
| HSL | hsl(223, 60%, 45%) |
| HSV | hsv(223, 75%, 73%) |
| CMYK | cmyk(75.3%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.21, 21.71, -56.84) |
| CIE-LCH | lch(39.21, 60.85, 290.90°) |
| OKLab | oklab(48.37% -0.0156 -0.1637) |
| OKLCH | oklch(48.37% 0.164 264.5) |
| XYZ | xyz(13.3143, 10.7801, 47.8239) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.21
Denim
#1560BD
ΔE00 4.78
Cobalt
#0047AB
ΔE00 5.35
Denim Blue
#3B5B92
ΔE00 5.45
Dusk Blue
#26538D
ΔE00 6.27
Dusky Blue
#475F94
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E56BA #BA922E
analogous
#2E9CBA #2E56BA #4C2EBA
triadic
#2E56BA #BA2E56 #56BA2E
tetradic
#2E56BA #BA2E9C #BA922E #2EBA4C
square
#2E56BA #BA2E9C #BA922E #2EBA4C
split-complementary
#2E56BA #BA4C2E #9CBA2E
monochromatic
#162958 #223F89 #2E56BA #5177D4 #829DE0
Accessibility & contrast
On white
6.65
#2E56BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2E56BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E56BA
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E56BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E56BA | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e56ba; /* rgb */ color: rgb(46, 86, 186); /* oklch */ color: oklch(48.4% 0.164 264.5);
Tailwind
colors: {
custom: {
50: '#7b85cf',
500: '#2e56ba',
950: '#000000',
},
}SCSS
$custom: #2e56ba; $custom-light: #7b85cf; $custom-dark: #000000;
JSON
{
"hex": "#2e56ba",
"rgb": {
"r": 46,
"g": 86,
"b": 186
},
"hsl": {
"h": 222.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.48368,
"c": 0.16449,
"h": 264.5
},
"luminance": 0.10782
}Semantic roles & 50–950 ramp
primary
#2E56BA
secondary
#C9B37B
accent
#B644E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82