#2E70B6#2E70B6

#2E70B6 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.129 H 252.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2E70B6
RGBrgb(46, 112, 182)
HSLhsl(211, 60%, 45%)
HSVhsv(211, 75%, 71%)
CMYKcmyk(74.7%, 38.5%, 0%, 28.6%)
CIE-LABlab(46.37, 3.51, -43.01)
CIE-LCHlch(46.37, 43.15, 274.67°)
OKLaboklab(53.8% -0.0386 -0.1226)
OKLCHoklch(53.8% 0.129 252.5)
XYZxyz(15.3612, 15.5448, 46.4378)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70B6 #B6742E
analogous
#2EB4B6 #2E70B6 #302EB6
triadic
#2E70B6 #B62E70 #70B62E
tetradic
#2E70B6 #B62EB4 #B6742E #2EB630
square
#2E70B6 #B62EB4 #B6742E #2EB630
split-complementary
#2E70B6 #B6302E #B4B62E
monochromatic
#153454 #225285 #2E70B6 #4F8FD2 #80AEDF

Accessibility & contrast

On white

5.11
#2E70B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2E70B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70B6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70B6#FFFFFF#000000##FFFFFF
##2E70B61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75B9
Deuteranopia (green-blind)
#3A68B5
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e70b6;
/* rgb */ color: rgb(46, 112, 182);
/* oklch */ color: oklch(53.8% 0.129 252.5);
Tailwind
colors: {
  custom: {
    50: '#7998cc',
    500: '#2e70b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e70b6;
$custom-light: #7998cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70b6",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 182
  },
  "hsl": {
    "h": 210.882,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.12853,
    "h": 252.5
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#2E70B6
secondary
#C8A178
accent
#9645E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E70B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E70B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva