#2F70B7#2F70B7

#2F70B7 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.130 H 253.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F70B7
RGBrgb(47, 112, 183)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 72%)
CMYKcmyk(74.3%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.46, 4.02, -43.45)
CIE-LCHlch(46.46, 43.63, 275.28°)
OKLaboklab(53.9% -0.0377 -0.1239)
OKLCHoklch(53.9% 0.13 253.1)
XYZxyz(15.5105, 15.6098, 46.9861)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B7 #B7762F
analogous
#2FB4B7 #2F70B7 #322FB7
triadic
#2F70B7 #B72F70 #70B72F
tetradic
#2F70B7 #B72FB4 #B7762F #2FB732
square
#2F70B7 #B72FB4 #B7762F #2FB732
split-complementary
#2F70B7 #B7322F #B4B72F
monochromatic
#163456 #225286 #2F70B7 #518FD2 #82AEDF

Accessibility & contrast

On white

5.09
#2F70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2F70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B7#FFFFFF#000000##FFFFFF
##2F70B71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3A68B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70b7;
/* rgb */ color: rgb(47, 112, 183);
/* oklch */ color: oklch(53.9% 0.130 253.1);
Tailwind
colors: {
  custom: {
    50: '#7a98cd',
    500: '#2f70b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b7;
$custom-light: #7a98cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b7",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 211.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.1295,
    "h": 253.1
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#2F70B7
secondary
#C8A37A
accent
#9745E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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