#2F7792#2F7792

#2F7792 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.082 H 226.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F7792
RGBrgb(47, 119, 146)
HSLhsl(196, 51%, 38%)
HSVhsv(196, 68%, 57%)
CMYKcmyk(67.8%, 18.5%, 0%, 42.7%)
CIE-LABlab(46.81, -13.40, -21.23)
CIE-LCHlch(46.81, 25.10, 237.75°)
OKLaboklab(53.59% -0.0567 -0.0593)
OKLCHoklch(53.59% 0.082 226.3)
XYZxyz(12.9553, 15.8719, 29.5694)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7792 #924A2F
analogous
#2F927B #2F7792 #2F4592
triadic
#2F7792 #922F77 #77922F
tetradic
#2F7792 #7B2F92 #924A2F #45922F
square
#2F7792 #7B2F92 #924A2F #45922F
split-complementary
#2F7792 #922F45 #927B2F
monochromatic
#112C35 #205164 #2F7792 #3E9DC0 #6CB4D0

Accessibility & contrast

On white

5.03
#2F7792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F7792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7792
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7792#FFFFFF#000000##FFFFFF
##2F77921.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687593
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7792;
/* rgb */ color: rgb(47, 119, 146);
/* oklch */ color: oklch(53.6% 0.082 226.3);
Tailwind
colors: {
  custom: {
    50: '#749eb2',
    500: '#2f7792',
    950: '#000000',
  },
}
SCSS
$custom: #2f7792;
$custom-light: #749eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7792",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 146
  },
  "hsl": {
    "h": 196.364,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.08209,
    "h": 226.3
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#2F7792
secondary
#B77C66
accent
#744DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7792

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

Preview Lab → · Contrast checker → · Palette generator →

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