#2E70C5#2E70C5

#2E70C5 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.8% C 0.148 H 256.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2E70C5
RGBrgb(46, 112, 197)
HSLhsl(214, 62%, 48%)
HSVhsv(214, 77%, 77%)
CMYKcmyk(76.6%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.23, 9.13, -50.30)
CIE-LCHlch(47.23, 51.12, 280.29°)
OKLaboklab(54.75% -0.0352 -0.144)
OKLCHoklch(54.75% 0.148 256.3)
XYZxyz(16.9952, 16.1984, 55.0434)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70C5 #C5832E
analogous
#2EBBC5 #2E70C5 #382EC5
triadic
#2E70C5 #C52E70 #70C52E
tetradic
#2E70C5 #C52EBB #C5832E #2EC538
square
#2E70C5 #C52EBB #C5832E #2EC538
split-complementary
#2E70C5 #C5382E #BBC52E
monochromatic
#173862 #225493 #2E70C5 #5890D8 #8AB1E4

Accessibility & contrast

On white

4.95
#2E70C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2E70C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70C5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70C5#FFFFFF#000000##FFFFFF
##2E70C51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#296AC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e70c5;
/* rgb */ color: rgb(46, 112, 197);
/* oklch */ color: oklch(54.8% 0.148 256.3);
Tailwind
colors: {
  custom: {
    50: '#7c98d7',
    500: '#2e70c5',
    950: '#000000',
  },
}
SCSS
$custom: #2e70c5;
$custom-light: #7c98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70c5",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 213.775,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.14825,
    "h": 256.3
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#2E70C5
secondary
#CEAC81
accent
#9E43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E70C5

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

Preview Lab → · Contrast checker → · Palette generator →

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