#1F799D#1F799D

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

Color values

HEX#1F799D
RGBrgb(31, 121, 157)
HSLhsl(197, 67%, 37%)
HSVhsv(197, 80%, 62%)
CMYKcmyk(80.3%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.49, -12.89, -26.67)
CIE-LCHlch(47.49, 29.63, 244.20°)
OKLaboklab(54.18% -0.0627 -0.0751)
OKLCHoklch(54.18% 0.098 230.1)
XYZxyz(13.4858, 16.3987, 34.3463)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F799D #9D431F
analogous
#1F9D82 #1F799D #1F3A9D
triadic
#1F799D #9D1F79 #799D1F
tetradic
#1F799D #821F9D #9D431F #3A9D1F
square
#1F799D #821F9D #9D431F #3A9D1F
split-complementary
#1F799D #9D1F3A #9D821F
monochromatic
#0B2A37 #15526A #1F799D #29A0D0 #58B8DE

Accessibility & contrast

On white

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

On black

4.28
#1F799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F799D#FFFFFF#000000##FFFFFF
##1F799D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f799d;
/* rgb */ color: rgb(31, 121, 157);
/* oklch */ color: oklch(54.2% 0.098 230.1);
Tailwind
colors: {
  custom: {
    50: '#709fba',
    500: '#1f799d',
    950: '#000000',
  },
}
SCSS
$custom: #1f799d;
$custom-light: #709fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f799d",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 197.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.09779,
    "h": 230.1
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#1F799D
secondary
#C27556
accent
#6F3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F799D

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

Preview Lab → · Contrast checker → · Palette generator →

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