#2E70A4#2E70A4

#2E70A4 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.106 H 245.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E70A4
RGBrgb(46, 112, 164)
HSLhsl(206, 56%, 41%)
HSVhsv(206, 72%, 64%)
CMYKcmyk(72%, 31.7%, 0%, 35.7%)
CIE-LABlab(45.43, -3.12, -33.99)
CIE-LCHlch(45.43, 34.13, 264.75°)
OKLaboklab(52.75% -0.0436 -0.0962)
OKLCHoklch(52.75% 0.106 245.6)
XYZxyz(13.6192, 14.8480, 37.2630)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70A4 #A4622E
analogous
#2EA49D #2E70A4 #2E35A4
triadic
#2E70A4 #A42E70 #70A42E
tetradic
#2E70A4 #9D2EA4 #A4622E #35A42E
square
#2E70A4 #9D2EA4 #A4622E #35A42E
split-complementary
#2E70A4 #A42E35 #A49D2E
monochromatic
#132F44 #214F74 #2E70A4 #4590CB #74ACD8

Accessibility & contrast

On white

5.29
#2E70A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E70A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70A4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70A4#FFFFFF#000000##FFFFFF
##2E70A41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A6
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e70a4;
/* rgb */ color: rgb(46, 112, 164);
/* oklch */ color: oklch(52.8% 0.106 245.6);
Tailwind
colors: {
  custom: {
    50: '#7698bf',
    500: '#2e70a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e70a4;
$custom-light: #7698bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70a4",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 206.441,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.10566,
    "h": 245.6
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#2E70A4
secondary
#C0926E
accent
#8B48DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E70A4

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

Preview Lab → · Contrast checker → · Palette generator →

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