#2F7B97#2F7B97

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

Color values

HEX#2F7B97
RGBrgb(47, 123, 151)
HSLhsl(196, 53%, 39%)
HSVhsv(196, 69%, 59%)
CMYKcmyk(68.9%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.26, -13.96, -21.93)
CIE-LCHlch(48.26, 25.99, 237.52°)
OKLaboklab(54.82% -0.0591 -0.0613)
OKLCHoklch(54.82% 0.085 226.1)
XYZxyz(13.8389, 17.0031, 31.8247)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B97 #974B2F
analogous
#2F977F #2F7B97 #2F4797
triadic
#2F7B97 #972F7B #7B972F
tetradic
#2F7B97 #7F2F97 #974B2F #47972F
square
#2F7B97 #7F2F97 #974B2F #47972F
split-complementary
#2F7B97 #972F47 #977F2F
monochromatic
#122F3A #205568 #2F7B97 #40A0C3 #6EB7D2

Accessibility & contrast

On white

4.77
#2F7B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F7B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B97
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B97#FFFFFF#000000##FFFFFF
##2F7B971.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7998
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7b97;
/* rgb */ color: rgb(47, 123, 151);
/* oklch */ color: oklch(54.8% 0.085 226.1);
Tailwind
colors: {
  custom: {
    50: '#75a1b5',
    500: '#2f7b97',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b97;
$custom-light: #75a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b97",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 196.154,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.08516,
    "h": 226.1
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#2F7B97
secondary
#B97E68
accent
#734CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2F7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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