#2F7A97#2F7A97

#2F7A97 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.085 H 227.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7A97
RGBrgb(47, 122, 151)
HSLhsl(197, 53%, 39%)
HSVhsv(197, 69%, 59%)
CMYKcmyk(68.9%, 19.2%, 0%, 40.8%)
CIE-LABlab(47.95, -13.40, -22.41)
CIE-LCHlch(47.95, 26.11, 239.13°)
OKLaboklab(54.57% -0.058 -0.0627)
OKLCHoklch(54.57% 0.085 227.2)
XYZxyz(13.7155, 16.7563, 31.7836)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A97 #974C2F
analogous
#2F9780 #2F7A97 #2F4697
triadic
#2F7A97 #972F7A #7A972F
tetradic
#2F7A97 #802F97 #974C2F #46972F
square
#2F7A97 #802F97 #974C2F #46972F
split-complementary
#2F7A97 #972F46 #97802F
monochromatic
#122F3A #205468 #2F7A97 #409FC3 #6EB6D2

Accessibility & contrast

On white

4.83
#2F7A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F7A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A97
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A97#FFFFFF#000000##FFFFFF
##2F7A971.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7a97;
/* rgb */ color: rgb(47, 122, 151);
/* oklch */ color: oklch(54.6% 0.085 227.2);
Tailwind
colors: {
  custom: {
    50: '#74a0b5',
    500: '#2f7a97',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a97;
$custom-light: #74a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a97",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 196.731,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.08543,
    "h": 227.2
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#2F7A97
secondary
#B97F68
accent
#744CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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