#2E70B2#2E70B2

#2E70B2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.123 H 251.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E70B2
RGBrgb(46, 112, 178)
HSLhsl(210, 59%, 44%)
HSVhsv(210, 74%, 70%)
CMYKcmyk(74.2%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.15, 2.02, -41.03)
CIE-LCHlch(46.15, 41.08, 272.82°)
OKLaboklab(53.56% -0.0396 -0.1168)
OKLCHoklch(53.56% 0.123 251.3)
XYZxyz(14.9537, 15.3818, 44.2917)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70B2 #B2702E
analogous
#2EB2B2 #2E70B2 #2E2EB2
triadic
#2E70B2 #B22E70 #70B22E
tetradic
#2E70B2 #B22EB2 #B2702E #2EB22E
square
#2E70B2 #B22EB2 #B2702E #2EB22E
split-complementary
#2E70B2 #B22E2E #B2B22E
monochromatic
#153351 #215181 #2E70B2 #4C8FD1 #7DADDD

Accessibility & contrast

On white

5.15
#2E70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70B2#FFFFFF#000000##FFFFFF
##2E70B21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e70b2;
/* rgb */ color: rgb(46, 112, 178);
/* oklch */ color: oklch(53.6% 0.123 251.3);
Tailwind
colors: {
  custom: {
    50: '#7898c9',
    500: '#2e70b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e70b2;
$custom-light: #7898c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70b2",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 210,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.12335,
    "h": 251.3
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#2E70B2
secondary
#C69E76
accent
#9446E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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