#2F7B96#2F7B96

#2F7B96 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.084 H 225.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7B96
RGBrgb(47, 123, 150)
HSLhsl(196, 52%, 39%)
HSVhsv(196, 69%, 59%)
CMYKcmyk(68.7%, 18%, 0%, 41.2%)
CIE-LABlab(48.22, -14.30, -21.40)
CIE-LCHlch(48.22, 25.74, 236.26°)
OKLaboklab(54.78% -0.0595 -0.0598)
OKLCHoklch(54.78% 0.084 225.2)
XYZxyz(13.7581, 16.9708, 31.3989)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B96 #964A2F
analogous
#2F967D #2F7B96 #2F4796
triadic
#2F7B96 #962F7B #7B962F
tetradic
#2F7B96 #7D2F96 #964A2F #47962F
square
#2F7B96 #7D2F96 #964A2F #47962F
split-complementary
#2F7B96 #962F47 #967D2F
monochromatic
#122F39 #205567 #2F7B96 #3FA0C3 #6EB7D2

Accessibility & contrast

On white

4.78
#2F7B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F7B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B96
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B96#FFFFFF#000000##FFFFFF
##2F7B961.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7897
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7b96;
/* rgb */ color: rgb(47, 123, 150);
/* oklch */ color: oklch(54.8% 0.084 225.2);
Tailwind
colors: {
  custom: {
    50: '#74a1b5',
    500: '#2f7b96',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b96;
$custom-light: #74a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b96",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 150
  },
  "hsl": {
    "h": 195.728,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.08437,
    "h": 225.2
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7B96

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

Preview Lab → · Contrast checker → · Palette generator →

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