#2F7E97#2F7E97

#2F7E97 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.085 H 222.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7E97
RGBrgb(47, 126, 151)
HSLhsl(194, 53%, 39%)
HSVhsv(194, 69%, 59%)
CMYKcmyk(68.9%, 16.6%, 0%, 40.8%)
CIE-LABlab(49.20, -15.63, -20.49)
CIE-LCHlch(49.20, 25.77, 232.66°)
OKLaboklab(55.57% -0.0623 -0.0572)
OKLCHoklch(55.57% 0.085 222.5)
XYZxyz(14.2168, 17.7588, 31.9507)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E97 #97482F
analogous
#2F977C #2F7E97 #2F4A97
triadic
#2F7E97 #972F7E #7E972F
tetradic
#2F7E97 #7C2F97 #97482F #4A972F
square
#2F7E97 #7C2F97 #97482F #4A972F
split-complementary
#2F7E97 #972F4A #977C2F
monochromatic
#12303A #205768 #2F7E97 #40A4C3 #6EBAD2

Accessibility & contrast

On white

4.61
#2F7E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F7E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E97
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E97#FFFFFF#000000##FFFFFF
##2F7E971.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707B98
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7e97;
/* rgb */ color: rgb(47, 126, 151);
/* oklch */ color: oklch(55.6% 0.085 222.5);
Tailwind
colors: {
  custom: {
    50: '#75a3b5',
    500: '#2f7e97',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e97;
$custom-light: #75a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e97",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 194.423,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.08459,
    "h": 222.5
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#2F7E97
secondary
#B97C68
accent
#6E4CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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