#2E56B7#2E56B7
#2E56B7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.160 H 264.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2E56B7 |
|---|---|
| RGB | rgb(46, 86, 183) |
| HSL | hsl(222, 60%, 45%) |
| HSV | hsv(222, 75%, 72%) |
| CMYK | cmyk(74.9%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(38.99, 20.58, -55.43) |
| CIE-LCH | lch(38.99, 59.13, 290.36°) |
| OKLab | oklab(48.14% -0.0159 -0.1596) |
| OKLCH | oklch(48.14% 0.16 264.3) |
| XYZ | xyz(12.9987, 10.6539, 46.1619) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.12
Denim
#1560BD
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.89
Dusky Blue
#475F94
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E56B7 #B78F2E
analogous
#2E9AB7 #2E56B7 #4B2EB7
triadic
#2E56B7 #B72E56 #56B72E
tetradic
#2E56B7 #B72E9A #B78F2E #2EB74B
square
#2E56B7 #B72E9A #B78F2E #2EB74B
split-complementary
#2E56B7 #B74B2E #9AB72E
monochromatic
#152855 #223F86 #2E56B7 #4F76D3 #809CDF
Accessibility & contrast
On white
6.71
#2E56B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2E56B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E56B7
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E56B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E56B7 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1062BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e56b7; /* rgb */ color: rgb(46, 86, 183); /* oklch */ color: oklch(48.1% 0.160 264.3);
Tailwind
colors: {
custom: {
50: '#7a85cd',
500: '#2e56b7',
950: '#000000',
},
}SCSS
$custom: #2e56b7; $custom-light: #7a85cd; $custom-dark: #000000;
JSON
{
"hex": "#2e56b7",
"rgb": {
"r": 46,
"g": 86,
"b": 183
},
"hsl": {
"h": 222.482,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.48136,
"c": 0.16039,
"h": 264.3
},
"luminance": 0.10655
}Semantic roles & 50–950 ramp
primary
#2E56B7
secondary
#C8B179
accent
#B545E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82