#2F70B1#2F70B1

#2F70B1 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.122 H 251.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F70B1
RGBrgb(47, 112, 177)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 73%, 69%)
CMYKcmyk(73.4%, 36.7%, 0%, 30.6%)
CIE-LABlab(46.13, 1.79, -40.48)
CIE-LCHlch(46.13, 40.52, 272.53°)
OKLaboklab(53.54% -0.0393 -0.1152)
OKLCHoklch(53.54% 0.122 251.2)
XYZxyz(14.8993, 15.3653, 43.7670)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B1 #B1702F
analogous
#2FB1B1 #2F70B1 #2F2FB1
triadic
#2F70B1 #B12F70 #70B12F
tetradic
#2F70B1 #B12FB1 #B1702F #2FB12F
square
#2F70B1 #B12FB1 #B1702F #2FB12F
split-complementary
#2F70B1 #B12F2F #B1B12F
monochromatic
#153350 #225181 #2F70B1 #4D8FD0 #7EADDD

Accessibility & contrast

On white

5.16
#2F70B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F70B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B1#FFFFFF#000000##FFFFFF
##2F70B11.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f70b1;
/* rgb */ color: rgb(47, 112, 177);
/* oklch */ color: oklch(53.5% 0.122 251.2);
Tailwind
colors: {
  custom: {
    50: '#7898c8',
    500: '#2f70b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b1;
$custom-light: #7898c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b1",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 177
  },
  "hsl": {
    "h": 210,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.1217,
    "h": 251.2
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#2F70B1
secondary
#C59E76
accent
#9447E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B1

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

Preview Lab → · Contrast checker → · Palette generator →

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