#2F799C#2F799C

#2F799C is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.090 H 232.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F799C
RGBrgb(47, 121, 156)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 61%)
CMYKcmyk(69.9%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.85, -11.11, -25.50)
CIE-LCHlch(47.85, 27.82, 246.45°)
OKLaboklab(54.56% -0.0551 -0.0716)
OKLCHoklch(54.56% 0.09 232.4)
XYZxyz(14.0080, 16.6778, 33.9269)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799C #9C522F
analogous
#2F9C89 #2F799C #2F429C
triadic
#2F799C #9C2F79 #799C2F
tetradic
#2F799C #892F9C #9C522F #429C2F
square
#2F799C #892F9C #9C522F #429C2F
split-complementary
#2F799C #9C2F42 #9C892F
monochromatic
#13303E #21556D #2F799C #429CC6 #71B4D4

Accessibility & contrast

On white

4.84
#2F799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799C#FFFFFF#000000##FFFFFF
##2F799C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f799c;
/* rgb */ color: rgb(47, 121, 156);
/* oklch */ color: oklch(54.6% 0.090 232.4);
Tailwind
colors: {
  custom: {
    50: '#759fb9',
    500: '#2f799c',
    950: '#000000',
  },
}
SCSS
$custom: #2f799c;
$custom-light: #759fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799c",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 199.266,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.0903,
    "h": 232.4
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#2F799C
secondary
#BC856B
accent
#7A4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F799C

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

Preview Lab → · Contrast checker → · Palette generator →

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