#2F7E9D#2F7E9D

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

Color values

HEX#2F7E9D
RGBrgb(47, 126, 157)
HSLhsl(197, 54%, 40%)
HSVhsv(197, 70%, 62%)
CMYKcmyk(70.1%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.45, -13.61, -23.62)
CIE-LCHlch(49.45, 27.26, 240.05°)
OKLaboklab(55.85% -0.06 -0.0661)
OKLCHoklch(55.85% 0.089 227.8)
XYZxyz(14.7165, 17.9587, 34.5825)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E9D #9D4E2F
analogous
#2F9D85 #2F7E9D #2F479D
triadic
#2F7E9D #9D2F7E #7E9D2F
tetradic
#2F7E9D #852F9D #9D4E2F #479D2F
square
#2F7E9D #852F9D #9D4E2F #479D2F
split-complementary
#2F7E9D #9D2F47 #9D852F
monochromatic
#13323F #21586E #2F7E9D #43A1C7 #72B9D5

Accessibility & contrast

On white

4.57
#2F7E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E9D#FFFFFF#000000##000000
##2F7E9D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#5E719D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7e9d;
/* rgb */ color: rgb(47, 126, 157);
/* oklch */ color: oklch(55.8% 0.089 227.8);
Tailwind
colors: {
  custom: {
    50: '#76a3ba',
    500: '#2f7e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e9d;
$custom-light: #76a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e9d",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 196.909,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.08928,
    "h": 227.8
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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