#2F7F9C#2F7F9C

#2F7F9C is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.0% C 0.088 H 225.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7F9C
RGBrgb(47, 127, 156)
HSLhsl(196, 54%, 40%)
HSVhsv(196, 70%, 61%)
CMYKcmyk(69.9%, 18.6%, 0%, 38.8%)
CIE-LABlab(49.72, -14.51, -22.62)
CIE-LCHlch(49.72, 26.87, 237.33°)
OKLaboklab(56.05% -0.0614 -0.0633)
OKLCHoklch(56.05% 0.088 225.9)
XYZxyz(14.7600, 18.1817, 34.1776)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F9C #9C4C2F
analogous
#2F9C82 #2F7F9C #2F499C
triadic
#2F7F9C #9C2F7F #7F9C2F
tetradic
#2F7F9C #822F9C #9C4C2F #499C2F
square
#2F7F9C #822F9C #9C4C2F #499C2F
split-complementary
#2F7F9C #9C2F49 #9C822F
monochromatic
#13323E #21596D #2F7F9C #42A3C6 #71BAD4

Accessibility & contrast

On white

4.53
#2F7F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2F7F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7F9C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F9C#FFFFFF#000000##000000
##2F7F9C1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9D
Deuteranopia (green-blind)
#60719C
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7f9c;
/* rgb */ color: rgb(47, 127, 156);
/* oklch */ color: oklch(56.0% 0.088 225.9);
Tailwind
colors: {
  custom: {
    50: '#76a4b9',
    500: '#2f7f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f9c;
$custom-light: #76a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f9c",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 195.963,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.08818,
    "h": 225.9
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#2F7F9C
secondary
#BC806B
accent
#724BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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