#2F70C6#2F70C6

#2F70C6 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.9% C 0.149 H 256.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F70C6
RGBrgb(47, 112, 198)
HSLhsl(214, 62%, 48%)
HSVhsv(214, 76%, 78%)
CMYKcmyk(76.3%, 43.4%, 0%, 22.4%)
CIE-LABlab(47.32, 9.62, -50.73)
CIE-LCHlch(47.32, 51.63, 280.74°)
OKLaboklab(54.85% -0.0344 -0.1453)
OKLCHoklch(54.85% 0.149 256.7)
XYZxyz(17.1557, 16.2679, 55.6510)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C6 #C6852F
analogous
#2FBBC6 #2F70C6 #392FC6
triadic
#2F70C6 #C62F70 #70C62F
tetradic
#2F70C6 #C62FBB #C6852F #2FC639
square
#2F70C6 #C62FBB #C6852F #2FC639
split-complementary
#2F70C6 #C6392F #BBC62F
monochromatic
#183863 #235495 #2F70C6 #5A90D8 #8CB2E4

Accessibility & contrast

On white

4.94
#2F70C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2F70C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C6#FFFFFF#000000##FFFFFF
##2F70C61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4578C9
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f70c6;
/* rgb */ color: rgb(47, 112, 198);
/* oklch */ color: oklch(54.9% 0.149 256.7);
Tailwind
colors: {
  custom: {
    50: '#7d98d8',
    500: '#2f70c6',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c6;
$custom-light: #7d98d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c6",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 198
  },
  "hsl": {
    "h": 214.172,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.14928,
    "h": 256.7
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#2F70C6
secondary
#CEAE83
accent
#9F43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F70C6

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

Preview Lab → · Contrast checker → · Palette generator →

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