#2E70C2#2E70C2

#2E70C2 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.144 H 255.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E70C2
RGBrgb(46, 112, 194)
HSLhsl(213, 62%, 47%)
HSVhsv(213, 76%, 76%)
CMYKcmyk(76.3%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.06, 8.00, -48.86)
CIE-LCHlch(47.06, 49.51, 279.30°)
OKLaboklab(54.56% -0.0358 -0.1398)
OKLCHoklch(54.56% 0.144 255.6)
XYZxyz(16.6549, 16.0623, 53.2510)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70C2 #C2802E
analogous
#2EBAC2 #2E70C2 #362EC2
triadic
#2E70C2 #C22E70 #70C22E
tetradic
#2E70C2 #C22EBA #C2802E #2EC236
square
#2E70C2 #C22EBA #C2802E #2EC236
split-complementary
#2E70C2 #C2362E #BAC22E
monochromatic
#17375F #225391 #2E70C2 #5690D7 #88B0E3

Accessibility & contrast

On white

4.98
#2E70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2E70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70C2#FFFFFF#000000##FFFFFF
##2E70C21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e70c2;
/* rgb */ color: rgb(46, 112, 194);
/* oklch */ color: oklch(54.6% 0.144 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b98d5',
    500: '#2e70c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e70c2;
$custom-light: #7b98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70c2",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 213.243,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.14429,
    "h": 255.6
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#2E70C2
secondary
#CCAA7F
accent
#9D43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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