#1F7796#1F7796

#1F7796 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.092 H 226.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7796
RGBrgb(31, 119, 150)
HSLhsl(196, 66%, 35%)
HSVhsv(196, 79%, 59%)
CMYKcmyk(79.3%, 20.7%, 0%, 41.2%)
CIE-LABlab(46.56, -14.27, -24.01)
CIE-LCHlch(46.56, 27.93, 239.27°)
OKLaboklab(53.33% -0.0633 -0.0674)
OKLCHoklch(53.33% 0.093 226.8)
XYZxyz(12.6647, 15.6854, 31.2084)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7796 #963E1F
analogous
#1F9679 #1F7796 #1F3C96
triadic
#1F7796 #961F77 #77961F
tetradic
#1F7796 #791F96 #963E1F #3C961F
square
#1F7796 #791F96 #963E1F #3C961F
split-complementary
#1F7796 #961F3C #96791F
monochromatic
#0A2731 #154F63 #1F7796 #299FC9 #54B8DC

Accessibility & contrast

On white

5.08
#1F7796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1F7796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7796#FFFFFF#000000##FFFFFF
##1F77961.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667598
Deuteranopia (green-blind)
#576996
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7796;
/* rgb */ color: rgb(31, 119, 150);
/* oklch */ color: oklch(53.3% 0.092 226.8);
Tailwind
colors: {
  custom: {
    50: '#6f9eb5',
    500: '#1f7796',
    950: '#000000',
  },
}
SCSS
$custom: #1f7796;
$custom-light: #6f9eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7796",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 195.63,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.0925,
    "h": 226.8
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#1F7796
secondary
#BF6E52
accent
#6B3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7796

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

Preview Lab → · Contrast checker → · Palette generator →

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