#2F7D9B#2F7D9B

#2F7D9B is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.088 H 227.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7D9B
RGBrgb(47, 125, 155)
HSLhsl(197, 53%, 40%)
HSVhsv(197, 70%, 61%)
CMYKcmyk(69.7%, 19.4%, 0%, 39.2%)
CIE-LABlab(49.05, -13.73, -23.06)
CIE-LCHlch(49.05, 26.83, 239.24°)
OKLaboklab(55.51% -0.0597 -0.0645)
OKLCHoklch(55.51% 0.088 227.2)
XYZxyz(14.4199, 17.6365, 33.6482)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D9B #9B4D2F
analogous
#2F9B83 #2F7D9B #2F479B
triadic
#2F7D9B #9B2F7D #7D9B2F
tetradic
#2F7D9B #832F9B #9B4D2F #479B2F
square
#2F7D9B #832F9B #9B4D2F #479B2F
split-complementary
#2F7D9B #9B2F47 #9B832F
monochromatic
#13313D #21576C #2F7D9B #42A1C6 #71B8D4

Accessibility & contrast

On white

4.64
#2F7D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F7D9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D9B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D9B#FFFFFF#000000##FFFFFF
##2F7D9B1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9D
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7d9b;
/* rgb */ color: rgb(47, 125, 155);
/* oklch */ color: oklch(55.5% 0.088 227.2);
Tailwind
colors: {
  custom: {
    50: '#75a2b8',
    500: '#2f7d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d9b;
$custom-light: #75a2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d9b",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 155
  },
  "hsl": {
    "h": 196.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.0879,
    "h": 227.2
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#2F7D9B
secondary
#BB816A
accent
#734BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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