#2F7794#2F7794

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

Color values

HEX#2F7794
RGBrgb(47, 119, 148)
HSLhsl(197, 52%, 38%)
HSVhsv(197, 68%, 58%)
CMYKcmyk(68.2%, 19.6%, 0%, 42%)
CIE-LABlab(46.89, -12.72, -22.28)
CIE-LCHlch(46.89, 25.66, 240.29°)
OKLaboklab(53.68% -0.0559 -0.0623)
OKLCHoklch(53.68% 0.084 228.1)
XYZxyz(13.1123, 15.9347, 30.3959)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7794 #944C2F
analogous
#2F947E #2F7794 #2F4494
triadic
#2F7794 #942F77 #77942F
tetradic
#2F7794 #7E2F94 #944C2F #44942F
square
#2F7794 #7E2F94 #944C2F #44942F
split-complementary
#2F7794 #942F44 #947E2F
monochromatic
#112C37 #205266 #2F7794 #3E9CC2 #6DB4D1

Accessibility & contrast

On white

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

On black

4.19
#2F7794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7794#FFFFFF#000000##FFFFFF
##2F77941.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7794;
/* rgb */ color: rgb(47, 119, 148);
/* oklch */ color: oklch(53.7% 0.084 228.1);
Tailwind
colors: {
  custom: {
    50: '#749eb3',
    500: '#2f7794',
    950: '#000000',
  },
}
SCSS
$custom: #2f7794;
$custom-light: #749eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7794",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 197.228,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.08377,
    "h": 228.1
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#2F7794
secondary
#B87E67
accent
#764DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7794

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

Preview Lab → · Contrast checker → · Palette generator →

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