#2F70AF#2F70AF

#2F70AF is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.119 H 250.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F70AF
RGBrgb(47, 112, 175)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 73%, 69%)
CMYKcmyk(73.1%, 36%, 0%, 31.4%)
CIE-LABlab(46.02, 1.05, -39.48)
CIE-LCHlch(46.02, 39.50, 271.53°)
OKLaboklab(53.42% -0.0398 -0.1123)
OKLCHoklch(53.42% 0.119 250.5)
XYZxyz(14.7014, 15.2862, 42.7249)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70AF #AF6E2F
analogous
#2FAFAE #2F70AF #2F30AF
triadic
#2F70AF #AF2F70 #70AF2F
tetradic
#2F70AF #AE2FAF #AF6E2F #30AF2F
square
#2F70AF #AE2FAF #AF6E2F #30AF2F
split-complementary
#2F70AF #AF2F30 #AFAE2F
monochromatic
#15324F #22517F #2F70AF #4C8FCF #7CADDC

Accessibility & contrast

On white

5.18
#2F70AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F70AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70AF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70AF#FFFFFF#000000##FFFFFF
##2F70AF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B2
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f70af;
/* rgb */ color: rgb(47, 112, 175);
/* oklch */ color: oklch(53.4% 0.119 250.5);
Tailwind
colors: {
  custom: {
    50: '#7898c7',
    500: '#2f70af',
    950: '#000000',
  },
}
SCSS
$custom: #2f70af;
$custom-light: #7898c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70af",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 209.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.11912,
    "h": 250.5
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#2F70AF
secondary
#C49C75
accent
#9347E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70AF

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

Preview Lab → · Contrast checker → · Palette generator →

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