#2F7795#2F7795

#2F7795 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.085 H 229.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7795
RGBrgb(47, 119, 149)
HSLhsl(198, 52%, 38%)
HSVhsv(198, 68%, 58%)
CMYKcmyk(68.5%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.93, -12.38, -22.81)
CIE-LCHlch(46.93, 25.95, 241.52°)
OKLaboklab(53.73% -0.0556 -0.0638)
OKLCHoklch(53.73% 0.085 229)
XYZxyz(13.1918, 15.9665, 30.8146)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7795 #954D2F
analogous
#2F9580 #2F7795 #2F4495
triadic
#2F7795 #952F77 #77952F
tetradic
#2F7795 #802F95 #954D2F #44952F
square
#2F7795 #802F95 #954D2F #44952F
split-complementary
#2F7795 #952F44 #95802F
monochromatic
#122D38 #205266 #2F7795 #3F9CC2 #6DB4D1

Accessibility & contrast

On white

5.01
#2F7795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7795
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7795#FFFFFF#000000##FFFFFF
##2F77951.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677596
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7795;
/* rgb */ color: rgb(47, 119, 149);
/* oklch */ color: oklch(53.7% 0.085 229.0);
Tailwind
colors: {
  custom: {
    50: '#749eb4',
    500: '#2f7795',
    950: '#000000',
  },
}
SCSS
$custom: #2f7795;
$custom-light: #749eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7795",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 197.647,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.08464,
    "h": 229
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#2F7795
secondary
#B87F67
accent
#764CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7795

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

Preview Lab → · Contrast checker → · Palette generator →

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