#2F7F97#2F7F97

#2F7F97 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.084 H 221.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7F97
RGBrgb(47, 127, 151)
HSLhsl(194, 53%, 39%)
HSVhsv(194, 69%, 59%)
CMYKcmyk(68.9%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.52, -16.18, -20.01)
CIE-LCHlch(49.52, 25.73, 231.03°)
OKLaboklab(55.82% -0.0634 -0.0558)
OKLCHoklch(55.82% 0.084 221.4)
XYZxyz(14.3453, 18.0159, 31.9935)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F97 #97472F
analogous
#2F977B #2F7F97 #2F4B97
triadic
#2F7F97 #972F7F #7F972F
tetradic
#2F7F97 #7B2F97 #97472F #4B972F
square
#2F7F97 #7B2F97 #97472F #4B972F
split-complementary
#2F7F97 #972F4B #977B2F
monochromatic
#12303A #205868 #2F7F97 #40A5C3 #6EBBD2

Accessibility & contrast

On white

4.56
#2F7F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7F97
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F97#FFFFFF#000000##000000
##2F7F971.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7f97;
/* rgb */ color: rgb(47, 127, 151);
/* oklch */ color: oklch(55.8% 0.084 221.4);
Tailwind
colors: {
  custom: {
    50: '#75a4b5',
    500: '#2f7f97',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f97;
$custom-light: #75a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f97",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 193.846,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.08448,
    "h": 221.4
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#2F7F97
secondary
#B97B68
accent
#6D4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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