#2F799A#2F799A

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

Color values

HEX#2F799A
RGBrgb(47, 121, 154)
HSLhsl(199, 53%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(69.5%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.77, -11.80, -24.46)
CIE-LCHlch(47.77, 27.16, 244.24°)
OKLaboklab(54.47% -0.0558 -0.0686)
OKLCHoklch(54.47% 0.088 230.9)
XYZxyz(13.8401, 16.6107, 33.0424)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799A #9A502F
analogous
#2F9A86 #2F799A #2F439A
triadic
#2F799A #9A2F79 #799A2F
tetradic
#2F799A #862F9A #9A502F #439A2F
square
#2F799A #862F9A #9A502F #439A2F
split-complementary
#2F799A #9A2F43 #9A862F
monochromatic
#122F3C #21546B #2F799A #419CC5 #70B5D3

Accessibility & contrast

On white

4.86
#2F799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799A#FFFFFF#000000##FFFFFF
##2F799A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f799a;
/* rgb */ color: rgb(47, 121, 154);
/* oklch */ color: oklch(54.5% 0.088 230.9);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#2f799a',
    950: '#000000',
  },
}
SCSS
$custom: #2f799a;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799a",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 198.505,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.08841,
    "h": 230.9
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#2F799A
secondary
#BB836A
accent
#784BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F799A

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

Preview Lab → · Contrast checker → · Palette generator →

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