#1F799B#1F799B

#1F799B is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.096 H 228.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F799B
RGBrgb(31, 121, 155)
HSLhsl(196, 67%, 36%)
HSVhsv(196, 80%, 61%)
CMYKcmyk(80%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.41, -13.61, -25.64)
CIE-LCHlch(47.41, 29.03, 242.03°)
OKLaboklab(54.08% -0.0634 -0.0721)
OKLCHoklch(54.08% 0.096 228.7)
XYZxyz(13.3164, 16.3310, 33.4543)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F799B #9B411F
analogous
#1F9B7F #1F799B #1F3B9B
triadic
#1F799B #9B1F79 #799B1F
tetradic
#1F799B #7F1F9B #9B411F #3B9B1F
square
#1F799B #7F1F9B #9B411F #3B9B1F
split-complementary
#1F799B #9B1F3B #9B7F1F
monochromatic
#0B2935 #155168 #1F799B #29A1CE #57B9DD

Accessibility & contrast

On white

4.92
#1F799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F799B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F799B#FFFFFF#000000##FFFFFF
##1F799B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f799b;
/* rgb */ color: rgb(31, 121, 155);
/* oklch */ color: oklch(54.1% 0.096 228.7);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#1f799b',
    950: '#000000',
  },
}
SCSS
$custom: #1f799b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f799b",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 196.452,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.09601,
    "h": 228.7
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#1F799B
secondary
#C17255
accent
#6D3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F799B

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

Preview Lab → · Contrast checker → · Palette generator →

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