#2E70AB#2E70AB

#2E70AB is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.114 H 248.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E70AB
RGBrgb(46, 112, 171)
HSLhsl(208, 58%, 43%)
HSVhsv(208, 73%, 67%)
CMYKcmyk(73.1%, 34.5%, 0%, 32.9%)
CIE-LABlab(45.78, -0.56, -37.53)
CIE-LCHlch(45.78, 37.54, 269.14°)
OKLaboklab(53.15% -0.0415 -0.1066)
OKLCHoklch(53.15% 0.114 248.7)
XYZxyz(14.2688, 15.1079, 40.6843)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70AB #AB692E
analogous
#2EABA8 #2E70AB #2E31AB
triadic
#2E70AB #AB2E70 #70AB2E
tetradic
#2E70AB #A82EAB #AB692E #31AB2E
square
#2E70AB #A82EAB #AB692E #31AB2E
split-complementary
#2E70AB #AB2E31 #ABA82E
monochromatic
#14314B #21507B #2E70AB #488FCE #79ACDB

Accessibility & contrast

On white

5.22
#2E70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70AB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70AB#FFFFFF#000000##FFFFFF
##2E70AB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e70ab;
/* rgb */ color: rgb(46, 112, 171);
/* oklch */ color: oklch(53.1% 0.114 248.7);
Tailwind
colors: {
  custom: {
    50: '#7798c4',
    500: '#2e70ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e70ab;
$custom-light: #7798c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70ab",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 208.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.11439,
    "h": 248.7
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#2E70AB
secondary
#C39872
accent
#9047E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2E70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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