#2F7796#2F7796

#2F7796 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.086 H 229.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F7796
RGBrgb(47, 119, 150)
HSLhsl(198, 52%, 39%)
HSVhsv(198, 69%, 59%)
CMYKcmyk(68.7%, 20.7%, 0%, 41.2%)
CIE-LABlab(46.97, -12.03, -23.33)
CIE-LCHlch(46.97, 26.25, 242.72°)
OKLaboklab(53.78% -0.0552 -0.0654)
OKLCHoklch(53.78% 0.086 229.8)
XYZxyz(13.2719, 15.9986, 31.2368)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7796 #964E2F
analogous
#2F9681 #2F7796 #2F4396
triadic
#2F7796 #962F77 #77962F
tetradic
#2F7796 #812F96 #964E2F #43962F
square
#2F7796 #812F96 #964E2F #43962F
split-complementary
#2F7796 #962F43 #96812F
monochromatic
#122D39 #205267 #2F7796 #3F9BC3 #6EB4D2

Accessibility & contrast

On white

5.00
#2F7796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F7796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7796
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7796#FFFFFF#000000##FFFFFF
##2F77961.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677598
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7796;
/* rgb */ color: rgb(47, 119, 150);
/* oklch */ color: oklch(53.8% 0.086 229.8);
Tailwind
colors: {
  custom: {
    50: '#749eb5',
    500: '#2f7796',
    950: '#000000',
  },
}
SCSS
$custom: #2f7796;
$custom-light: #749eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7796",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 198.058,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.08553,
    "h": 229.8
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#2F7796
secondary
#B98068
accent
#774CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7796

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

Preview Lab → · Contrast checker → · Palette generator →

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