#2E70BC#2E70BC

#2E70BC is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.136 H 254.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2E70BC
RGBrgb(46, 112, 188)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 76%, 74%)
CMYKcmyk(75.5%, 40.4%, 0%, 26.3%)
CIE-LABlab(46.71, 5.75, -45.95)
CIE-LCHlch(46.71, 46.31, 277.13°)
OKLaboklab(54.18% -0.0372 -0.1312)
OKLCHoklch(54.18% 0.136 254.2)
XYZxyz(15.9946, 15.7982, 49.7736)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E70BC #BC7A2E
analogous
#2EB7BC #2E70BC #332EBC
triadic
#2E70BC #BC2E70 #70BC2E
tetradic
#2E70BC #BC2EB7 #BC7A2E #2EBC33
square
#2E70BC #BC2EB7 #BC7A2E #2EBC33
split-complementary
#2E70BC #BC332E #B7BC2E
monochromatic
#16355A #22538B #2E70BC #528FD5 #84AFE1

Accessibility & contrast

On white

5.05
#2E70BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E70BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E70BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E70BC#FFFFFF#000000##FFFFFF
##2E70BC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e70bc;
/* rgb */ color: rgb(46, 112, 188);
/* oklch */ color: oklch(54.2% 0.136 254.2);
Tailwind
colors: {
  custom: {
    50: '#7a98d0',
    500: '#2e70bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e70bc;
$custom-light: #7a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e70bc",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 212.113,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.13639,
    "h": 254.2
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#2E70BC
secondary
#CAA67C
accent
#9A44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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