#2E70B5#2E70B5

#2E70B5 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.127 H 252.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2E70B5
RGBrgb(46, 112, 181)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 75%, 71%)
CMYKcmyk(74.6%, 38.1%, 0%, 29%)
CIE-LABlab(46.32, 3.14, -42.51)
CIE-LCHlch(46.32, 42.63, 274.22°)
OKLaboklab(53.74% -0.0388 -0.1212)
OKLCHoklch(53.74% 0.127 252.2)
XYZxyz(15.2583, 15.5036, 45.8954)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70B5 #B5732E
analogous
#2EB3B5 #2E70B5 #302EB5
triadic
#2E70B5 #B52E70 #70B52E
tetradic
#2E70B5 #B52EB3 #B5732E #2EB530
square
#2E70B5 #B52EB3 #B5732E #2EB530
split-complementary
#2E70B5 #B5302E #B3B52E
monochromatic
#153453 #225284 #2E70B5 #4E8FD2 #7FAEDE

Accessibility & contrast

On white

5.12
#2E70B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2E70B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70B5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70B5#FFFFFF#000000##FFFFFF
##2E70B51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e70b5;
/* rgb */ color: rgb(46, 112, 181);
/* oklch */ color: oklch(53.7% 0.127 252.2);
Tailwind
colors: {
  custom: {
    50: '#7998cb',
    500: '#2e70b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e70b5;
$custom-light: #7998cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70b5",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 181
  },
  "hsl": {
    "h": 210.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.12724,
    "h": 252.2
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#2E70B5
secondary
#C7A078
accent
#9645E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E70B5

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

Preview Lab → · Contrast checker → · Palette generator →

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