#1F7993#1F7993

#1F7993 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.090 H 222.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F7993
RGBrgb(31, 121, 147)
HSLhsl(193, 65%, 35%)
HSVhsv(193, 79%, 58%)
CMYKcmyk(78.9%, 17.7%, 0%, 42.4%)
CIE-LABlab(47.07, -16.45, -21.45)
CIE-LCHlch(47.07, 27.03, 232.52°)
OKLaboklab(53.69% -0.0666 -0.0601)
OKLCHoklch(53.69% 0.09 222.1)
XYZxyz(12.6667, 16.0711, 30.0325)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7993 #93391F
analogous
#1F9373 #1F7993 #1F3F93
triadic
#1F7993 #931F79 #79931F
tetradic
#1F7993 #731F93 #93391F #3F931F
square
#1F7993 #731F93 #93391F #3F931F
split-complementary
#1F7993 #931F3F #93731F
monochromatic
#0A262E #144F60 #1F7993 #2AA3C6 #52BCDA

Accessibility & contrast

On white

4.98
#1F7993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F7993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7993
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7993#FFFFFF#000000##FFFFFF
##1F79931.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7694
Deuteranopia (green-blind)
#5A6B93
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7993;
/* rgb */ color: rgb(31, 121, 147);
/* oklch */ color: oklch(53.7% 0.090 222.1);
Tailwind
colors: {
  custom: {
    50: '#6e9fb2',
    500: '#1f7993',
    950: '#000000',
  },
}
SCSS
$custom: #1f7993;
$custom-light: #6e9fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7993",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 147
  },
  "hsl": {
    "h": 193.448,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.08966,
    "h": 222.1
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#1F7993
secondary
#BE6950
accent
#6540E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7993

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

Preview Lab → · Contrast checker → · Palette generator →

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