#2E70BB#2E70BB

#2E70BB is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.135 H 253.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E70BB
RGBrgb(46, 112, 187)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(75.4%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.65, 5.38, -45.46)
CIE-LCHlch(46.65, 45.78, 276.75°)
OKLaboklab(54.11% -0.0374 -0.1298)
OKLCHoklch(54.11% 0.135 253.9)
XYZxyz(15.8872, 15.7552, 49.2078)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70BB #BB792E
analogous
#2EB6BB #2E70BB #322EBB
triadic
#2E70BB #BB2E70 #70BB2E
tetradic
#2E70BB #BB2EB6 #BB792E #2EBB32
square
#2E70BB #BB2EB6 #BB792E #2EBB32
split-complementary
#2E70BB #BB322E #B6BB2E
monochromatic
#163559 #22538A #2E70BB #528FD4 #83AFE0

Accessibility & contrast

On white

5.06
#2E70BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2E70BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70BB#FFFFFF#000000##FFFFFF
##2E70BB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BE
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e70bb;
/* rgb */ color: rgb(46, 112, 187);
/* oklch */ color: oklch(54.1% 0.135 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a98d0',
    500: '#2e70bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e70bb;
$custom-light: #7a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70bb",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 211.915,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.13508,
    "h": 253.9
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#2E70BB
secondary
#CAA57B
accent
#9944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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