#2F70C1#2F70C1

#2F70C1 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.143 H 255.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F70C1
RGBrgb(47, 112, 193)
HSLhsl(213, 61%, 47%)
HSVhsv(213, 76%, 76%)
CMYKcmyk(75.6%, 42%, 0%, 24.3%)
CIE-LABlab(47.03, 7.75, -48.32)
CIE-LCHlch(47.03, 48.94, 279.11°)
OKLaboklab(54.53% -0.0354 -0.1382)
OKLCHoklch(54.53% 0.143 255.6)
XYZxyz(16.5885, 16.0410, 52.6637)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C1 #C1802F
analogous
#2FB9C1 #2F70C1 #372FC1
triadic
#2F70C1 #C12F70 #70C12F
tetradic
#2F70C1 #C12FB9 #C1802F #2FC137
square
#2F70C1 #C12FB9 #C1802F #2FC137
split-complementary
#2F70C1 #C1372F #B9C12F
monochromatic
#17375F #235390 #2F70C1 #5790D6 #88B0E2

Accessibility & contrast

On white

4.99
#2F70C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F70C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C1#FFFFFF#000000##FFFFFF
##2F70C11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f70c1;
/* rgb */ color: rgb(47, 112, 193);
/* oklch */ color: oklch(54.5% 0.143 255.6);
Tailwind
colors: {
  custom: {
    50: '#7c98d4',
    500: '#2f70c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c1;
$custom-light: #7c98d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c1",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 213.288,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.14266,
    "h": 255.6
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F70C1

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

Preview Lab → · Contrast checker → · Palette generator →

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