#2E56B6#2E56B6
#2E56B6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.159 H 264.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E56B6 |
|---|---|
| RGB | rgb(46, 86, 182) |
| HSL | hsl(222, 60%, 45%) |
| HSV | hsv(222, 75%, 71%) |
| CMYK | cmyk(74.7%, 52.7%, 0%, 28.6%) |
| CIE-LAB | lab(38.92, 20.20, -54.96) |
| CIE-LCH | lch(38.92, 58.56, 290.18°) |
| OKLab | oklab(48.06% -0.016 -0.1582) |
| OKLCH | oklch(48.06% 0.159 264.2) |
| XYZ | xyz(12.8950, 10.6124, 45.6157) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.10
Denim
#1560BD
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.16
Dusk Blue
#26538D
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E56B6 #B68E2E
analogous
#2E9AB6 #2E56B6 #4A2EB6
triadic
#2E56B6 #B62E56 #56B62E
tetradic
#2E56B6 #B62E9A #B68E2E #2EB64A
square
#2E56B6 #B62E9A #B68E2E #2EB64A
split-complementary
#2E56B6 #B64A2E #9AB62E
monochromatic
#152854 #223F85 #2E56B6 #4F75D2 #809CDF
Accessibility & contrast
On white
6.72
#2E56B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2E56B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E56B6
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E56B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E56B6 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e56b6; /* rgb */ color: rgb(46, 86, 182); /* oklch */ color: oklch(48.1% 0.159 264.2);
Tailwind
colors: {
custom: {
50: '#7a85cd',
500: '#2e56b6',
950: '#000000',
},
}SCSS
$custom: #2e56b6; $custom-light: #7a85cd; $custom-dark: #000000;
JSON
{
"hex": "#2e56b6",
"rgb": {
"r": 46,
"g": 86,
"b": 182
},
"hsl": {
"h": 222.353,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.48059,
"c": 0.15902,
"h": 264.2
},
"luminance": 0.10614
}Semantic roles & 50–950 ramp
primary
#2E56B6
secondary
#C8B078
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82