#2E70BA#2E70BA
#2E70BA is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.134 H 253.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E70BA |
|---|---|
| RGB | rgb(46, 112, 186) |
| HSL | hsl(212, 60%, 45%) |
| HSV | hsv(212, 75%, 73%) |
| CMYK | cmyk(75.3%, 39.8%, 0%, 27.1%) |
| CIE-LAB | lab(46.60, 5.00, -44.97) |
| CIE-LCH | lch(46.60, 45.25, 276.35°) |
| OKLab | oklab(54.05% -0.0376 -0.1284) |
| OKLCH | oklch(54.05% 0.134 253.7) |
| XYZ | xyz(15.7805, 15.7126, 48.6460) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.37
Mid Blue
#276AB3
ΔE00 2.28
Flat Blue
#3C73A8
ΔE00 2.35
Bluish
#2976BB
ΔE00 2.66
Windows Blue
#3778BF
ΔE00 2.97
Muted Blue
#3B719F
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E70BA #BA782E
analogous
#2EB6BA #2E70BA #322EBA
triadic
#2E70BA #BA2E70 #70BA2E
tetradic
#2E70BA #BA2EB6 #BA782E #2EBA32
square
#2E70BA #BA2EB6 #BA782E #2EBA32
split-complementary
#2E70BA #BA322E #B6BA2E
monochromatic
#163558 #225289 #2E70BA #518FD4 #82AFE0
Accessibility & contrast
On white
5.07
#2E70BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2E70BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E70BA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E70BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E70BA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2e70ba; /* rgb */ color: rgb(46, 112, 186); /* oklch */ color: oklch(54.1% 0.134 253.7);
Tailwind
colors: {
custom: {
50: '#7a98cf',
500: '#2e70ba',
950: '#000000',
},
}SCSS
$custom: #2e70ba; $custom-light: #7a98cf; $custom-dark: #000000;
JSON
{
"hex": "#2e70ba",
"rgb": {
"r": 46,
"g": 112,
"b": 186
},
"hsl": {
"h": 211.714,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.54051,
"c": 0.13376,
"h": 253.7
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#2E70BA
secondary
#C9A47B
accent
#9844E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82