#2F70C3#2F70C3

#2F70C3 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.7% C 0.145 H 256.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F70C3
RGBrgb(47, 112, 195)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 76%, 76%)
CMYKcmyk(75.9%, 42.6%, 0%, 23.5%)
CIE-LABlab(47.15, 8.50, -49.29)
CIE-LCHlch(47.15, 50.01, 279.78°)
OKLaboklab(54.66% -0.035 -0.141)
OKLCHoklch(54.66% 0.145 256.1)
XYZxyz(16.8131, 16.1309, 53.8466)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C3 #C3822F
analogous
#2FBAC3 #2F70C3 #382FC3
triadic
#2F70C3 #C32F70 #70C32F
tetradic
#2F70C3 #C32FBA #C3822F #2FC338
square
#2F70C3 #C32FBA #C3822F #2FC338
split-complementary
#2F70C3 #C3382F #BAC32F
monochromatic
#173760 #235492 #2F70C3 #5890D7 #8AB1E3

Accessibility & contrast

On white

4.97
#2F70C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F70C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C3#FFFFFF#000000##FFFFFF
##2F70C31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#2C6AC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f70c3;
/* rgb */ color: rgb(47, 112, 195);
/* oklch */ color: oklch(54.7% 0.145 256.1);
Tailwind
colors: {
  custom: {
    50: '#7c98d6',
    500: '#2f70c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c3;
$custom-light: #7c98d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c3",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 195
  },
  "hsl": {
    "h": 213.649,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.14531,
    "h": 256.1
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#2F70C3
secondary
#CDAB81
accent
#9E44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F70C3

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

Preview Lab → · Contrast checker → · Palette generator →

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