#2F799B#2F799B

#2F799B is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.089 H 231.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F799B
RGBrgb(47, 121, 155)
HSLhsl(199, 53%, 40%)
HSVhsv(199, 70%, 61%)
CMYKcmyk(69.7%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.81, -11.46, -24.98)
CIE-LCHlch(47.81, 27.48, 245.36°)
OKLaboklab(54.51% -0.0554 -0.0701)
OKLCHoklch(54.51% 0.089 231.7)
XYZxyz(13.9237, 16.6441, 33.4828)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799B #9B512F
analogous
#2F9B87 #2F799B #2F439B
triadic
#2F799B #9B2F79 #799B2F
tetradic
#2F799B #872F9B #9B512F #439B2F
square
#2F799B #872F9B #9B512F #439B2F
split-complementary
#2F799B #9B2F43 #9B872F
monochromatic
#13303D #21546C #2F799B #429CC6 #71B5D4

Accessibility & contrast

On white

4.85
#2F799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F799B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799B#FFFFFF#000000##FFFFFF
##2F799B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779D
Deuteranopia (green-blind)
#596D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f799b;
/* rgb */ color: rgb(47, 121, 155);
/* oklch */ color: oklch(54.5% 0.089 231.7);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#2f799b',
    950: '#000000',
  },
}
SCSS
$custom: #2f799b;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799b",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 198.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.08934,
    "h": 231.7
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#2F799B
secondary
#BB846A
accent
#794BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F799B

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

Preview Lab → · Contrast checker → · Palette generator →

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