#2E70AC#2E70AC

#2E70AC is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.116 H 249.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E70AC
RGBrgb(46, 112, 172)
HSLhsl(209, 58%, 43%)
HSVhsv(209, 73%, 67%)
CMYKcmyk(73.3%, 34.9%, 0%, 32.5%)
CIE-LABlab(45.83, -0.19, -38.03)
CIE-LCHlch(45.83, 38.03, 269.71°)
OKLaboklab(53.21% -0.0412 -0.108)
OKLCHoklch(53.21% 0.116 249.1)
XYZxyz(14.3645, 15.1461, 41.1882)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70AC #AC6A2E
analogous
#2EACA9 #2E70AC #2E31AC
triadic
#2E70AC #AC2E70 #70AC2E
tetradic
#2E70AC #A92EAC #AC6A2E #31AC2E
square
#2E70AC #A92EAC #AC6A2E #31AC2E
split-complementary
#2E70AC #AC2E31 #ACA92E
monochromatic
#14314B #21517C #2E70AC #498FCE #79ADDB

Accessibility & contrast

On white

5.21
#2E70AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E70AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70AC#FFFFFF#000000##FFFFFF
##2E70AC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#4367AB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e70ac;
/* rgb */ color: rgb(46, 112, 172);
/* oklch */ color: oklch(53.2% 0.116 249.1);
Tailwind
colors: {
  custom: {
    50: '#7798c5',
    500: '#2e70ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e70ac;
$custom-light: #7798c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70ac",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 208.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.11565,
    "h": 249.1
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2E70AC
secondary
#C39972
accent
#9047E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E70AC

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

Preview Lab → · Contrast checker → · Palette generator →

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