#2E71BA#2E71BA
#2E71BA is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.133 H 253.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E71BA |
|---|---|
| RGB | rgb(46, 113, 186) |
| HSL | hsl(211, 60%, 45%) |
| HSV | hsv(211, 75%, 73%) |
| CMYK | cmyk(75.3%, 39.2%, 0%, 27.1%) |
| CIE-LAB | lab(46.89, 4.38, -44.51) |
| CIE-LCH | lch(46.89, 44.72, 275.62°) |
| OKLab | oklab(54.28% -0.0385 -0.127) |
| OKLCH | oklch(54.28% 0.133 253.1) |
| XYZ | xyz(15.8915, 15.9344, 48.6830) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.76
Flat Blue
#3C73A8
ΔE00 2.19
Bluish
#2976BB
ΔE00 2.26
Mid Blue
#276AB3
ΔE00 2.60
Windows Blue
#3778BF
ΔE00 2.63
Muted Blue
#3B719F
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E71BA #BA772E
analogous
#2EB7BA #2E71BA #312EBA
triadic
#2E71BA #BA2E71 #71BA2E
tetradic
#2E71BA #BA2EB7 #BA772E #2EBA31
square
#2E71BA #BA2EB7 #BA772E #2EBA31
split-complementary
#2E71BA #BA312E #B7BA2E
monochromatic
#163558 #225389 #2E71BA #5190D4 #82AFE0
Accessibility & contrast
On white
5.02
#2E71BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#2E71BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E71BA
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E71BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E71BA | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e71ba; /* rgb */ color: rgb(46, 113, 186); /* oklch */ color: oklch(54.3% 0.133 253.1);
Tailwind
colors: {
custom: {
50: '#7a99cf',
500: '#2e71ba',
950: '#000000',
},
}SCSS
$custom: #2e71ba; $custom-light: #7a99cf; $custom-dark: #000000;
JSON
{
"hex": "#2e71ba",
"rgb": {
"r": 46,
"g": 113,
"b": 186
},
"hsl": {
"h": 211.286,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.5428,
"c": 0.1327,
"h": 253.1
},
"luminance": 0.15936
}Semantic roles & 50–950 ramp
primary
#2E71BA
secondary
#C9A47B
accent
#9744E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82