#1F799A#1F799A

#1F799A is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.095 H 227.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F799A
RGBrgb(31, 121, 154)
HSLhsl(196, 66%, 36%)
HSVhsv(196, 80%, 60%)
CMYKcmyk(79.9%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.36, -13.97, -25.12)
CIE-LCHlch(47.36, 28.74, 240.92°)
OKLaboklab(54.03% -0.0638 -0.0706)
OKLCHoklch(54.03% 0.095 227.9)
XYZxyz(13.2328, 16.2975, 33.0139)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F799A #9A401F
analogous
#1F9A7E #1F799A #1F3C9A
triadic
#1F799A #9A1F79 #799A1F
tetradic
#1F799A #7E1F9A #9A401F #3C9A1F
square
#1F799A #7E1F9A #9A401F #3C9A1F
split-complementary
#1F799A #9A1F3C #9A7E1F
monochromatic
#0A2934 #155167 #1F799A #29A1CD #56B9DD

Accessibility & contrast

On white

4.93
#1F799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1F799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F799A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F799A#FFFFFF#000000##FFFFFF
##1F799A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f799a;
/* rgb */ color: rgb(31, 121, 154);
/* oklch */ color: oklch(54.0% 0.095 227.9);
Tailwind
colors: {
  custom: {
    50: '#6f9fb8',
    500: '#1f799a',
    950: '#000000',
  },
}
SCSS
$custom: #1f799a;
$custom-light: #6f9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f799a",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 196.098,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.09514,
    "h": 227.9
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#1F799A
secondary
#C17154
accent
#6C3EE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F799A

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

Preview Lab → · Contrast checker → · Palette generator →

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