#2F7182#2F7182

#2F7182 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.3% C 0.071 H 217.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F7182
RGBrgb(47, 113, 130)
HSLhsl(192, 47%, 35%)
HSVhsv(192, 64%, 51%)
CMYKcmyk(63.8%, 13.1%, 0%, 49%)
CIE-LABlab(44.27, -15.34, -15.61)
CIE-LCHlch(44.27, 21.89, 225.48°)
OKLaboklab(51.35% -0.0565 -0.0434)
OKLCHoklch(51.35% 0.071 217.5)
XYZxyz(11.1051, 14.0252, 23.2366)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7182 #82402F
analogous
#2F826A #2F7182 #2F4882
triadic
#2F7182 #822F71 #71822F
tetradic
#2F7182 #6A2F82 #82402F #48822F
square
#2F7182 #6A2F82 #82402F #48822F
split-complementary
#2F7182 #822F48 #826A2F
monochromatic
#0E2328 #1F4A55 #2F7182 #3F98AF #64B3C7

Accessibility & contrast

On white

5.52
#2F7182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F7182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7182
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7182#FFFFFF#000000##FFFFFF
##2F71821.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#007776
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7182;
/* rgb */ color: rgb(47, 113, 130);
/* oklch */ color: oklch(51.3% 0.071 217.5);
Tailwind
colors: {
  custom: {
    50: '#719aa6',
    500: '#2f7182',
    950: '#000000',
  },
}
SCSS
$custom: #2f7182;
$custom-light: #719aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7182",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 130
  },
  "hsl": {
    "h": 192.289,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.07126,
    "h": 217.5
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#2F7182
secondary
#AE6F5F
accent
#6D51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7182

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

Preview Lab → · Contrast checker → · Palette generator →

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