#2F7C97#2F7C97

#2F7C97 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.1% C 0.085 H 224.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7C97
RGBrgb(47, 124, 151)
HSLhsl(196, 53%, 39%)
HSVhsv(196, 69%, 59%)
CMYKcmyk(68.9%, 17.9%, 0%, 40.8%)
CIE-LABlab(48.58, -14.52, -21.45)
CIE-LCHlch(48.58, 25.90, 235.91°)
OKLaboklab(55.07% -0.0602 -0.0599)
OKLCHoklch(55.07% 0.085 224.9)
XYZxyz(13.9636, 17.2525, 31.8663)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C97 #974A2F
analogous
#2F977E #2F7C97 #2F4897
triadic
#2F7C97 #972F7C #7C972F
tetradic
#2F7C97 #7E2F97 #974A2F #48972F
square
#2F7C97 #7E2F97 #974A2F #48972F
split-complementary
#2F7C97 #972F48 #977E2F
monochromatic
#122F3A #205668 #2F7C97 #40A1C3 #6EB8D2

Accessibility & contrast

On white

4.72
#2F7C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F7C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C97
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C97#FFFFFF#000000##FFFFFF
##2F7C971.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7998
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7c97;
/* rgb */ color: rgb(47, 124, 151);
/* oklch */ color: oklch(55.1% 0.085 224.9);
Tailwind
colors: {
  custom: {
    50: '#75a2b5',
    500: '#2f7c97',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c97;
$custom-light: #75a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c97",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 195.577,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.08494,
    "h": 224.9
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#2F7C97
secondary
#B97D68
accent
#714CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2F7C97

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

Preview Lab → · Contrast checker → · Palette generator →

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