#2F7899#2F7899

#2F7899 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.088 H 231.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F7899
RGBrgb(47, 120, 153)
HSLhsl(199, 53%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(69.3%, 21.6%, 0%, 40%)
CIE-LABlab(47.41, -11.58, -24.42)
CIE-LCHlch(47.41, 27.02, 244.64°)
OKLaboklab(54.17% -0.0551 -0.0685)
OKLCHoklch(54.17% 0.088 231.2)
XYZxyz(13.6363, 16.3357, 32.5653)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7899 #99502F
analogous
#2F9985 #2F7899 #2F4399
triadic
#2F7899 #992F78 #78992F
tetradic
#2F7899 #852F99 #99502F #43992F
square
#2F7899 #852F99 #99502F #43992F
split-complementary
#2F7899 #992F43 #99852F
monochromatic
#122F3B #21536A #2F7899 #419BC5 #6FB4D3

Accessibility & contrast

On white

4.92
#2F7899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F7899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7899
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7899#FFFFFF#000000##FFFFFF
##2F78991.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7899;
/* rgb */ color: rgb(47, 120, 153);
/* oklch */ color: oklch(54.2% 0.088 231.2);
Tailwind
colors: {
  custom: {
    50: '#759fb7',
    500: '#2f7899',
    950: '#000000',
  },
}
SCSS
$custom: #2f7899;
$custom-light: #759fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7899",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 198.679,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.08789,
    "h": 231.2
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#2F7899
secondary
#BA8369
accent
#794BDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7899

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

Preview Lab → · Contrast checker → · Palette generator →

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