#1F7994#1F7994

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

Color values

HEX#1F7994
RGBrgb(31, 121, 148)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 58%)
CMYKcmyk(79.1%, 18.2%, 0%, 42%)
CIE-LABlab(47.11, -16.10, -21.98)
CIE-LCHlch(47.11, 27.24, 233.78°)
OKLaboklab(53.74% -0.0662 -0.0616)
OKLCHoklch(53.74% 0.09 222.9)
XYZxyz(12.7455, 16.1026, 30.4476)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7994 #943A1F
analogous
#1F9474 #1F7994 #1F3F94
triadic
#1F7994 #941F79 #79941F
tetradic
#1F7994 #741F94 #943A1F #3F941F
square
#1F7994 #741F94 #943A1F #3F941F
split-complementary
#1F7994 #941F3F #94741F
monochromatic
#0A262F #145061 #1F7994 #2AA2C7 #53BBDB

Accessibility & contrast

On white

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

On black

4.22
#1F7994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7994#FFFFFF#000000##FFFFFF
##1F79941.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697695
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7994;
/* rgb */ color: rgb(31, 121, 148);
/* oklch */ color: oklch(53.7% 0.090 222.9);
Tailwind
colors: {
  custom: {
    50: '#6e9fb3',
    500: '#1f7994',
    950: '#000000',
  },
}
SCSS
$custom: #1f7994;
$custom-light: #6e9fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7994",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 148
  },
  "hsl": {
    "h": 193.846,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.09038,
    "h": 222.9
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#1F7994
secondary
#BE6A51
accent
#663FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7994

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

Preview Lab → · Contrast checker → · Palette generator →

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