#2F7D9C#2F7D9C

#2F7D9C is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.089 H 228.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7D9C
RGBrgb(47, 125, 156)
HSLhsl(197, 54%, 40%)
HSVhsv(197, 70%, 61%)
CMYKcmyk(69.9%, 19.9%, 0%, 38.8%)
CIE-LABlab(49.09, -13.39, -23.58)
CIE-LCHlch(49.09, 27.11, 240.42°)
OKLaboklab(55.55% -0.0593 -0.066)
OKLCHoklch(55.55% 0.089 228.1)
XYZxyz(14.5042, 17.6703, 34.0923)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D9C #9C4E2F
analogous
#2F9C85 #2F7D9C #2F479C
triadic
#2F7D9C #9C2F7D #7D9C2F
tetradic
#2F7D9C #852F9C #9C4E2F #479C2F
square
#2F7D9C #852F9C #9C4E2F #479C2F
split-complementary
#2F7D9C #9C2F47 #9C852F
monochromatic
#13323E #21576D #2F7D9C #42A1C6 #71B8D4

Accessibility & contrast

On white

4.63
#2F7D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7D9C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D9C#FFFFFF#000000##FFFFFF
##2F7D9C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7d9c;
/* rgb */ color: rgb(47, 125, 156);
/* oklch */ color: oklch(55.6% 0.089 228.1);
Tailwind
colors: {
  custom: {
    50: '#75a2b9',
    500: '#2f7d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d9c;
$custom-light: #75a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d9c",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 156
  },
  "hsl": {
    "h": 197.064,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.08875,
    "h": 228.1
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#2F7D9C
secondary
#BC826B
accent
#744BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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