#2E70B7#2E70B7

#2E70B7 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.130 H 252.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E70B7
RGBrgb(46, 112, 183)
HSLhsl(211, 60%, 45%)
HSVhsv(211, 75%, 72%)
CMYKcmyk(74.9%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.43, 3.88, -43.50)
CIE-LCHlch(46.43, 43.67, 275.10°)
OKLaboklab(53.86% -0.0384 -0.124)
OKLCHoklch(53.86% 0.13 252.8)
XYZxyz(15.4649, 15.5863, 46.9840)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70B7 #B7752E
analogous
#2EB4B7 #2E70B7 #312EB7
triadic
#2E70B7 #B72E70 #70B72E
tetradic
#2E70B7 #B72EB4 #B7752E #2EB731
square
#2E70B7 #B72EB4 #B7752E #2EB731
split-complementary
#2E70B7 #B7312E #B4B72E
monochromatic
#153455 #225286 #2E70B7 #4F8FD3 #80AEDF

Accessibility & contrast

On white

5.10
#2E70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70B7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70B7#FFFFFF#000000##FFFFFF
##2E70B71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e70b7;
/* rgb */ color: rgb(46, 112, 183);
/* oklch */ color: oklch(53.9% 0.130 252.8);
Tailwind
colors: {
  custom: {
    50: '#7998cd',
    500: '#2e70b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e70b7;
$custom-light: #7998cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70b7",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 211.095,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.12985,
    "h": 252.8
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#2E70B7
secondary
#C8A279
accent
#9745E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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