#1F7A9B#1F7A9B

#1F7A9B is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.3% C 0.096 H 227.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F7A9B
RGBrgb(31, 122, 155)
HSLhsl(196, 67%, 36%)
HSVhsv(196, 80%, 61%)
CMYKcmyk(80%, 21.3%, 0%, 39.2%)
CIE-LABlab(47.72, -14.18, -25.15)
CIE-LCHlch(47.72, 28.87, 240.59°)
OKLaboklab(54.33% -0.0644 -0.0707)
OKLCHoklch(54.33% 0.096 227.7)
XYZxyz(13.4386, 16.5753, 33.4951)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A9B #9B401F
analogous
#1F9B7E #1F7A9B #1F3C9B
triadic
#1F7A9B #9B1F7A #7A9B1F
tetradic
#1F7A9B #7E1F9B #9B401F #3C9B1F
square
#1F7A9B #7E1F9B #9B401F #3C9B1F
split-complementary
#1F7A9B #9B1F3C #9B7E1F
monochromatic
#0B2A35 #155268 #1F7A9B #29A2CE #57BADD

Accessibility & contrast

On white

4.87
#1F7A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F7A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A9B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A9B#FFFFFF#000000##FFFFFF
##1F7A9B1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789D
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7a9b;
/* rgb */ color: rgb(31, 122, 155);
/* oklch */ color: oklch(54.3% 0.096 227.7);
Tailwind
colors: {
  custom: {
    50: '#70a0b8',
    500: '#1f7a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a9b;
$custom-light: #70a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a9b",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 155
  },
  "hsl": {
    "h": 195.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.09562,
    "h": 227.7
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#1F7A9B
secondary
#C17255
accent
#6C3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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