#2F70C0#2F70C0

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

Color values

HEX#2F70C0
RGBrgb(47, 112, 192)
HSLhsl(213, 61%, 47%)
HSVhsv(213, 76%, 75%)
CMYKcmyk(75.5%, 41.7%, 0%, 24.7%)
CIE-LABlab(46.97, 7.37, -47.84)
CIE-LCHlch(46.97, 48.41, 278.76°)
OKLaboklab(54.46% -0.0357 -0.1368)
OKLCHoklch(54.46% 0.141 255.4)
XYZxyz(16.4774, 15.9966, 52.0782)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C0 #C07F2F
analogous
#2FB9C0 #2F70C0 #362FC0
triadic
#2F70C0 #C02F70 #70C02F
tetradic
#2F70C0 #C02FB9 #C07F2F #2FC036
square
#2F70C0 #C02FB9 #C07F2F #2FC036
split-complementary
#2F70C0 #C0362F #B9C02F
monochromatic
#17375E #23538F #2F70C0 #5690D6 #88B0E2

Accessibility & contrast

On white

5.00
#2F70C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F70C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C0#FFFFFF#000000##FFFFFF
##2F70C01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C3
Deuteranopia (green-blind)
#3069BE
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f70c0;
/* rgb */ color: rgb(47, 112, 192);
/* oklch */ color: oklch(54.5% 0.141 255.4);
Tailwind
colors: {
  custom: {
    50: '#7b98d3',
    500: '#2f70c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c0;
$custom-light: #7b98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c0",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 192
  },
  "hsl": {
    "h": 213.103,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.14134,
    "h": 255.4
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#2F70C0
secondary
#CBA97F
accent
#9C44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F70C0

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

Preview Lab → · Contrast checker → · Palette generator →

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