#2F7793#2F7793

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

Color values

HEX#2F7793
RGBrgb(47, 119, 147)
HSLhsl(197, 52%, 38%)
HSVhsv(197, 68%, 58%)
CMYKcmyk(68%, 19%, 0%, 42.4%)
CIE-LABlab(46.85, -13.06, -21.76)
CIE-LCHlch(46.85, 25.37, 239.03°)
OKLaboklab(53.64% -0.0563 -0.0608)
OKLCHoklch(53.64% 0.083 227.2)
XYZxyz(13.0335, 15.9032, 29.9808)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7793 #934B2F
analogous
#2F937D #2F7793 #2F4593
triadic
#2F7793 #932F77 #77932F
tetradic
#2F7793 #7D2F93 #934B2F #45932F
square
#2F7793 #7D2F93 #934B2F #45932F
split-complementary
#2F7793 #932F45 #937D2F
monochromatic
#112C36 #205165 #2F7793 #3E9CC1 #6CB4D0

Accessibility & contrast

On white

5.02
#2F7793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2F7793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7793
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7793#FFFFFF#000000##FFFFFF
##2F77931.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7793;
/* rgb */ color: rgb(47, 119, 147);
/* oklch */ color: oklch(53.6% 0.083 227.2);
Tailwind
colors: {
  custom: {
    50: '#749eb2',
    500: '#2f7793',
    950: '#000000',
  },
}
SCSS
$custom: #2f7793;
$custom-light: #749eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7793",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 147
  },
  "hsl": {
    "h": 196.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.08291,
    "h": 227.2
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#2F7793
secondary
#B77D66
accent
#754DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7793

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

Preview Lab → · Contrast checker → · Palette generator →

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