#1F7D9A#1F7D9A

#1F7D9A is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.0% C 0.094 H 223.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F7D9A
RGBrgb(31, 125, 154)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 80%, 60%)
CMYKcmyk(79.9%, 18.8%, 0%, 39.6%)
CIE-LABlab(48.62, -16.21, -23.17)
CIE-LCHlch(48.62, 28.27, 235.03°)
OKLaboklab(55.04% -0.0678 -0.065)
OKLCHoklch(55.04% 0.094 223.8)
XYZxyz(13.7290, 17.2899, 33.1793)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D9A #9A3C1F
analogous
#1F9A7A #1F7D9A #1F409A
triadic
#1F7D9A #9A1F7D #7D9A1F
tetradic
#1F7D9A #7A1F9A #9A3C1F #409A1F
square
#1F7D9A #7A1F9A #9A3C1F #409A1F
split-complementary
#1F7D9A #9A1F40 #9A7A1F
monochromatic
#0A2A34 #155467 #1F7D9A #29A6CD #56BDDD

Accessibility & contrast

On white

4.71
#1F7D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F7D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D9A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D9A#FFFFFF#000000##FFFFFF
##1F7D9A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A9B
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7d9a;
/* rgb */ color: rgb(31, 125, 154);
/* oklch */ color: oklch(55.0% 0.094 223.8);
Tailwind
colors: {
  custom: {
    50: '#70a2b7',
    500: '#1f7d9a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d9a;
$custom-light: #70a2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d9a",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 154
  },
  "hsl": {
    "h": 194.146,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.09388,
    "h": 223.8
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#1F7D9A
secondary
#C16E54
accent
#673EE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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