#2F7799#2F7799

#2F7799 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.088 H 232.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F7799
RGBrgb(47, 119, 153)
HSLhsl(199, 53%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(69.3%, 22.2%, 0%, 40%)
CIE-LABlab(47.10, -11.00, -24.90)
CIE-LCHlch(47.10, 27.22, 246.16°)
OKLaboklab(53.92% -0.054 -0.0699)
OKLCHoklch(53.92% 0.088 232.3)
XYZxyz(13.5166, 16.0964, 32.5254)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7799 #99512F
analogous
#2F9986 #2F7799 #2F4299
triadic
#2F7799 #992F77 #77992F
tetradic
#2F7799 #862F99 #99512F #42992F
square
#2F7799 #862F99 #99512F #42992F
split-complementary
#2F7799 #992F42 #99862F
monochromatic
#122E3B #21536A #2F7799 #419AC5 #6FB3D3

Accessibility & contrast

On white

4.98
#2F7799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F7799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7799
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7799#FFFFFF#000000##FFFFFF
##2F77991.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769B
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7799;
/* rgb */ color: rgb(47, 119, 153);
/* oklch */ color: oklch(53.9% 0.088 232.3);
Tailwind
colors: {
  custom: {
    50: '#759eb7',
    500: '#2f7799',
    950: '#000000',
  },
}
SCSS
$custom: #2f7799;
$custom-light: #759eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7799",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 199.245,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.08832,
    "h": 232.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#2F7799
secondary
#BA8369
accent
#7A4BDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7799

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

Preview Lab → · Contrast checker → · Palette generator →

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