#2F70B9#2F70B9

#2F70B9 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.132 H 253.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F70B9
RGBrgb(47, 112, 185)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(74.6%, 39.5%, 0%, 27.5%)
CIE-LABlab(46.57, 4.76, -44.43)
CIE-LCHlch(46.57, 44.69, 276.11°)
OKLaboklab(54.02% -0.0372 -0.1268)
OKLCHoklch(54.02% 0.132 253.6)
XYZxyz(15.7202, 15.6937, 48.0902)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B9 #B9782F
analogous
#2FB5B9 #2F70B9 #332FB9
triadic
#2F70B9 #B92F70 #70B92F
tetradic
#2F70B9 #B92FB5 #B9782F #2FB933
square
#2F70B9 #B92FB5 #B9782F #2FB933
split-complementary
#2F70B9 #B9332F #B5B92F
monochromatic
#163557 #235288 #2F70B9 #528FD3 #83AFDF

Accessibility & contrast

On white

5.07
#2F70B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F70B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B9#FFFFFF#000000##FFFFFF
##2F70B91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BC
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70b9;
/* rgb */ color: rgb(47, 112, 185);
/* oklch */ color: oklch(54.0% 0.132 253.6);
Tailwind
colors: {
  custom: {
    50: '#7a98ce',
    500: '#2f70b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b9;
$custom-light: #7a98ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b9",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 185
  },
  "hsl": {
    "h": 211.739,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.13212,
    "h": 253.6
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#2F70B9
secondary
#C9A47B
accent
#9845E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2F70B9

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

Preview Lab → · Contrast checker → · Palette generator →

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