#2F70B6#2F70B6

#2F70B6 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.128 H 252.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F70B6
RGBrgb(47, 112, 182)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 71%)
CMYKcmyk(74.2%, 38.5%, 0%, 28.6%)
CIE-LABlab(46.40, 3.64, -42.96)
CIE-LCHlch(46.40, 43.11, 274.85°)
OKLaboklab(53.84% -0.038 -0.1224)
OKLCHoklch(53.84% 0.128 252.8)
XYZxyz(15.4068, 15.5683, 46.4399)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B6 #B6752F
analogous
#2FB4B6 #2F70B6 #312FB6
triadic
#2F70B6 #B62F70 #70B62F
tetradic
#2F70B6 #B62FB4 #B6752F #2FB631
square
#2F70B6 #B62FB4 #B6752F #2FB631
split-complementary
#2F70B6 #B6312F #B4B62F
monochromatic
#163455 #225285 #2F70B6 #508FD2 #81AEDE

Accessibility & contrast

On white

5.10
#2F70B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F70B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B6#FFFFFF#000000##FFFFFF
##2F70B61.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75B9
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70b6;
/* rgb */ color: rgb(47, 112, 182);
/* oklch */ color: oklch(53.8% 0.128 252.8);
Tailwind
colors: {
  custom: {
    50: '#7998cc',
    500: '#2f70b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b6;
$custom-light: #7998cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b6",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 182
  },
  "hsl": {
    "h": 211.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.1282,
    "h": 252.8
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#2F70B6
secondary
#C7A279
accent
#9746E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B6

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

Preview Lab → · Contrast checker → · Palette generator →

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