#1F799C#1F799C

#1F799C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.097 H 229.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F799C
RGBrgb(31, 121, 156)
HSLhsl(197, 67%, 37%)
HSVhsv(197, 80%, 61%)
CMYKcmyk(80.1%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.45, -13.25, -26.16)
CIE-LCHlch(47.45, 29.32, 243.13°)
OKLaboklab(54.13% -0.063 -0.0736)
OKLCHoklch(54.13% 0.097 229.4)
XYZxyz(13.4007, 16.3647, 33.8985)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F799C #9C421F
analogous
#1F9C81 #1F799C #1F3B9C
triadic
#1F799C #9C1F79 #799C1F
tetradic
#1F799C #811F9C #9C421F #3B9C1F
square
#1F799C #811F9C #9C421F #3B9C1F
split-complementary
#1F799C #9C1F3B #9C811F
monochromatic
#0B2A36 #155169 #1F799C #29A1CF #58B8DE

Accessibility & contrast

On white

4.91
#1F799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F799C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F799C#FFFFFF#000000##FFFFFF
##1F799C1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779E
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f799c;
/* rgb */ color: rgb(31, 121, 156);
/* oklch */ color: oklch(54.1% 0.097 229.4);
Tailwind
colors: {
  custom: {
    50: '#709fb9',
    500: '#1f799c',
    950: '#000000',
  },
}
SCSS
$custom: #1f799c;
$custom-light: #709fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f799c",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 196.8,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54126,
    "c": 0.09688,
    "h": 229.4
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#1F799C
secondary
#C17455
accent
#6E3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F799C

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

Preview Lab → · Contrast checker → · Palette generator →

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