#2F70A5#2F70A5

#2F70A5 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.106 H 246.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F70A5
RGBrgb(47, 112, 165)
HSLhsl(207, 56%, 42%)
HSVhsv(207, 72%, 65%)
CMYKcmyk(71.5%, 32.1%, 0%, 35.3%)
CIE-LABlab(45.51, -2.61, -34.45)
CIE-LCHlch(45.51, 34.54, 265.67°)
OKLaboklab(52.84% -0.0427 -0.0976)
OKLCHoklch(52.84% 0.106 246.4)
XYZxyz(13.7554, 14.9078, 37.7426)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A5 #A5642F
analogous
#2FA59F #2F70A5 #2F35A5
triadic
#2F70A5 #A52F70 #70A52F
tetradic
#2F70A5 #9F2FA5 #A5642F #35A52F
square
#2F70A5 #9F2FA5 #A5642F #35A52F
split-complementary
#2F70A5 #A52F35 #A59F2F
monochromatic
#142F46 #215075 #2F70A5 #478FCB #76ACD8

Accessibility & contrast

On white

5.27
#2F70A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F70A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70A5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70A5#FFFFFF#000000##FFFFFF
##2F70A51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f70a5;
/* rgb */ color: rgb(47, 112, 165);
/* oklch */ color: oklch(52.8% 0.106 246.4);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2f70a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a5;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a5",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 165
  },
  "hsl": {
    "h": 206.949,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.10648,
    "h": 246.4
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#2F70A5
secondary
#C09470
accent
#8C49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F70A5

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

Preview Lab → · Contrast checker → · Palette generator →

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