#2F799F#2F799F

#2F799F is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.093 H 234.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F799F
RGBrgb(47, 121, 159)
HSLhsl(200, 54%, 40%)
HSVhsv(200, 70%, 62%)
CMYKcmyk(70.4%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.98, -10.07, -27.06)
CIE-LCHlch(47.98, 28.87, 249.58°)
OKLaboklab(54.71% -0.054 -0.076)
OKLCHoklch(54.71% 0.093 234.6)
XYZxyz(14.2652, 16.7807, 35.2814)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799F #9F552F
analogous
#2F9F8D #2F799F #2F419F
triadic
#2F799F #9F2F79 #799F2F
tetradic
#2F799F #8D2F9F #9F552F #419F2F
square
#2F799F #8D2F9F #9F552F #419F2F
split-complementary
#2F799F #9F2F41 #9F8D2F
monochromatic
#133141 #215570 #2F799F #449BC8 #73B4D6

Accessibility & contrast

On white

4.82
#2F799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799F#FFFFFF#000000##FFFFFF
##2F799F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f799f;
/* rgb */ color: rgb(47, 121, 159);
/* oklch */ color: oklch(54.7% 0.093 234.6);
Tailwind
colors: {
  custom: {
    50: '#769fbb',
    500: '#2f799f',
    950: '#000000',
  },
}
SCSS
$custom: #2f799f;
$custom-light: #769fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799f",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 200.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.09324,
    "h": 234.6
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#2F799F
secondary
#BD886D
accent
#7C4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F799F

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

Preview Lab → · Contrast checker → · Palette generator →

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