#2E70B8#2E70B8

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

Color values

HEX#2E70B8
RGBrgb(46, 112, 184)
HSLhsl(211, 60%, 45%)
HSVhsv(211, 75%, 72%)
CMYKcmyk(75%, 39.1%, 0%, 27.8%)
CIE-LABlab(46.48, 4.26, -43.99)
CIE-LCHlch(46.48, 44.20, 275.53°)
OKLaboklab(53.93% -0.0381 -0.1255)
OKLCHoklch(53.93% 0.131 253.1)
XYZxyz(15.5694, 15.6281, 47.5341)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70B8 #B8762E
analogous
#2EB5B8 #2E70B8 #312EB8
triadic
#2E70B8 #B82E70 #70B82E
tetradic
#2E70B8 #B82EB5 #B8762E #2EB831
square
#2E70B8 #B82EB5 #B8762E #2EB831
split-complementary
#2E70B8 #B8312E #B5B82E
monochromatic
#163456 #225287 #2E70B8 #508FD3 #81AEDF

Accessibility & contrast

On white

5.09
#2E70B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E70B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70B8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70B8#FFFFFF#000000##FFFFFF
##2E70B81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e70b8;
/* rgb */ color: rgb(46, 112, 184);
/* oklch */ color: oklch(53.9% 0.131 253.1);
Tailwind
colors: {
  custom: {
    50: '#7998ce',
    500: '#2e70b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e70b8;
$custom-light: #7998ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70b8",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 184
  },
  "hsl": {
    "h": 211.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.13115,
    "h": 253.1
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E70B8

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

Preview Lab → · Contrast checker → · Palette generator →

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