#1F7999#1F7999

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

Color values

HEX#1F7999
RGBrgb(31, 121, 153)
HSLhsl(196, 66%, 36%)
HSVhsv(196, 80%, 60%)
CMYKcmyk(79.7%, 20.9%, 0%, 40%)
CIE-LABlab(47.32, -14.33, -24.60)
CIE-LCHlch(47.32, 28.46, 239.78°)
OKLaboklab(53.98% -0.0642 -0.0691)
OKLCHoklch(53.98% 0.094 227.1)
XYZxyz(13.1498, 16.2643, 32.5771)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7999 #993F1F
analogous
#1F997C #1F7999 #1F3C99
triadic
#1F7999 #991F79 #79991F
tetradic
#1F7999 #7C1F99 #993F1F #3C991F
square
#1F7999 #7C1F99 #993F1F #3C991F
split-complementary
#1F7999 #991F3C #997C1F
monochromatic
#0A2933 #155166 #1F7999 #29A1CC #56B9DD

Accessibility & contrast

On white

4.94
#1F7999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#1F7999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7999
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7999#FFFFFF#000000##FFFFFF
##1F79991.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779B
Deuteranopia (green-blind)
#586B99
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7999;
/* rgb */ color: rgb(31, 121, 153);
/* oklch */ color: oklch(54.0% 0.094 227.1);
Tailwind
colors: {
  custom: {
    50: '#6f9fb7',
    500: '#1f7999',
    950: '#000000',
  },
}
SCSS
$custom: #1f7999;
$custom-light: #6f9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7999",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 153
  },
  "hsl": {
    "h": 195.738,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.0943,
    "h": 227.1
  },
  "luminance": 0.16266
}

Semantic roles & 50–950 ramp

primary
#1F7999
secondary
#C07054
accent
#6B3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7999

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

Preview Lab → · Contrast checker → · Palette generator →

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