#1F7996#1F7996

#1F7996 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.092 H 224.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F7996
RGBrgb(31, 121, 150)
HSLhsl(195, 66%, 35%)
HSVhsv(195, 79%, 59%)
CMYKcmyk(79.3%, 19.3%, 0%, 41.2%)
CIE-LABlab(47.19, -15.39, -23.03)
CIE-LCHlch(47.19, 27.70, 236.24°)
OKLaboklab(53.84% -0.0654 -0.0646)
OKLCHoklch(53.84% 0.092 224.7)
XYZxyz(12.9052, 16.1665, 31.2885)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7996 #963C1F
analogous
#1F9677 #1F7996 #1F3D96
triadic
#1F7996 #961F79 #79961F
tetradic
#1F7996 #771F96 #963C1F #3D961F
square
#1F7996 #771F96 #963C1F #3D961F
split-complementary
#1F7996 #961F3D #96771F
monochromatic
#0A2731 #155063 #1F7996 #29A2C9 #54BBDC

Accessibility & contrast

On white

4.96
#1F7996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1F7996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7996
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7996#FFFFFF#000000##FFFFFF
##1F79961.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697697
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#008282
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7996;
/* rgb */ color: rgb(31, 121, 150);
/* oklch */ color: oklch(53.8% 0.092 224.7);
Tailwind
colors: {
  custom: {
    50: '#6f9fb5',
    500: '#1f7996',
    950: '#000000',
  },
}
SCSS
$custom: #1f7996;
$custom-light: #6f9fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7996",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 150
  },
  "hsl": {
    "h": 194.622,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.09188,
    "h": 224.7
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#1F7996
secondary
#BF6C52
accent
#683FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7996

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

Preview Lab → · Contrast checker → · Palette generator →

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