#2F7E9C#2F7E9C

#2F7E9C is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.088 H 227.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F7E9C
RGBrgb(47, 126, 156)
HSLhsl(197, 54%, 40%)
HSVhsv(197, 70%, 61%)
CMYKcmyk(69.9%, 19.2%, 0%, 38.8%)
CIE-LABlab(49.40, -13.95, -23.10)
CIE-LCHlch(49.40, 26.98, 238.88°)
OKLaboklab(55.8% -0.0604 -0.0646)
OKLCHoklch(55.8% 0.088 227)
XYZxyz(14.6315, 17.9247, 34.1347)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E9C #9C4D2F
analogous
#2F9C84 #2F7E9C #2F479C
triadic
#2F7E9C #9C2F7E #7E9C2F
tetradic
#2F7E9C #842F9C #9C4D2F #479C2F
square
#2F7E9C #842F9C #9C4D2F #479C2F
split-complementary
#2F7E9C #9C2F47 #9C842F
monochromatic
#13323E #21586D #2F7E9C #42A2C6 #71B9D4

Accessibility & contrast

On white

4.58
#2F7E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2F7E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7E9C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E9C#FFFFFF#000000##000000
##2F7E9C1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9E
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7e9c;
/* rgb */ color: rgb(47, 126, 156);
/* oklch */ color: oklch(55.8% 0.088 227.0);
Tailwind
colors: {
  custom: {
    50: '#75a3b9',
    500: '#2f7e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e9c;
$custom-light: #75a3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e9c",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 156
  },
  "hsl": {
    "h": 196.514,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.08845,
    "h": 227
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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