#2F70C5#2F70C5

#2F70C5 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.8% C 0.148 H 256.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F70C5
RGBrgb(47, 112, 197)
HSLhsl(214, 61%, 48%)
HSVhsv(214, 76%, 77%)
CMYKcmyk(76.1%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.26, 9.25, -50.25)
CIE-LCHlch(47.26, 51.09, 280.43°)
OKLaboklab(54.79% -0.0346 -0.1438)
OKLCHoklch(54.79% 0.148 256.5)
XYZxyz(17.0408, 16.2219, 55.0455)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C5 #C5842F
analogous
#2FBBC5 #2F70C5 #392FC5
triadic
#2F70C5 #C52F70 #70C52F
tetradic
#2F70C5 #C52FBB #C5842F #2FC539
square
#2F70C5 #C52FBB #C5842F #2FC539
split-complementary
#2F70C5 #C5392F #BBC52F
monochromatic
#173862 #235494 #2F70C5 #5A90D8 #8BB1E3

Accessibility & contrast

On white

4.95
#2F70C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F70C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C5#FFFFFF#000000##FFFFFF
##2F70C51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C8
Deuteranopia (green-blind)
#296AC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f70c5;
/* rgb */ color: rgb(47, 112, 197);
/* oklch */ color: oklch(54.8% 0.148 256.5);
Tailwind
colors: {
  custom: {
    50: '#7c98d7',
    500: '#2f70c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c5;
$custom-light: #7c98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c5",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 214,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.14795,
    "h": 256.5
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F70C5

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

Preview Lab → · Contrast checker → · Palette generator →

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