#2F70C2#2F70C2

#2F70C2 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.144 H 255.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F70C2
RGBrgb(47, 112, 194)
HSLhsl(213, 61%, 47%)
HSVhsv(213, 76%, 76%)
CMYKcmyk(75.8%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.09, 8.12, -48.81)
CIE-LCHlch(47.09, 49.48, 279.45°)
OKLaboklab(54.59% -0.0352 -0.1396)
OKLCHoklch(54.59% 0.144 255.8)
XYZxyz(16.7005, 16.0858, 53.2532)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C2 #C2812F
analogous
#2FBAC2 #2F70C2 #372FC2
triadic
#2F70C2 #C22F70 #70C22F
tetradic
#2F70C2 #C22FBA #C2812F #2FC237
square
#2F70C2 #C22FBA #C2812F #2FC237
split-complementary
#2F70C2 #C2372F #BAC22F
monochromatic
#17375F #235491 #2F70C2 #5890D6 #89B1E2

Accessibility & contrast

On white

4.98
#2F70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C2#FFFFFF#000000##FFFFFF
##2F70C21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f70c2;
/* rgb */ color: rgb(47, 112, 194);
/* oklch */ color: oklch(54.6% 0.144 255.8);
Tailwind
colors: {
  custom: {
    50: '#7c98d5',
    500: '#2f70c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c2;
$custom-light: #7c98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c2",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 213.469,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.14399,
    "h": 255.8
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#2F70C2
secondary
#CCAB81
accent
#9D44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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