#2F7B9D#2F7B9D

#2F7B9D is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.090 H 231.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7B9D
RGBrgb(47, 123, 157)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 62%)
CMYKcmyk(70.1%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.51, -11.91, -25.06)
CIE-LCHlch(48.51, 27.75, 244.58°)
OKLaboklab(55.11% -0.0568 -0.0703)
OKLCHoklch(55.11% 0.09 231.1)
XYZxyz(14.3386, 17.2030, 34.4566)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B9D #9D512F
analogous
#2F9D88 #2F7B9D #2F449D
triadic
#2F7B9D #9D2F7B #7B9D2F
tetradic
#2F7B9D #882F9D #9D512F #449D2F
square
#2F7B9D #882F9D #9D512F #449D2F
split-complementary
#2F7B9D #9D2F44 #9D882F
monochromatic
#13313F #21566E #2F7B9D #439EC7 #72B6D5

Accessibility & contrast

On white

4.73
#2F7B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F7B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B9D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B9D#FFFFFF#000000##FFFFFF
##2F7B9D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799F
Deuteranopia (green-blind)
#5B6E9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7b9d;
/* rgb */ color: rgb(47, 123, 157);
/* oklch */ color: oklch(55.1% 0.090 231.1);
Tailwind
colors: {
  custom: {
    50: '#75a1ba',
    500: '#2f7b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b9d;
$custom-light: #75a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b9d",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 198.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.09036,
    "h": 231.1
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#2F7B9D
secondary
#BC846B
accent
#784BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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