#1F7B9B#1F7B9B

#1F7B9B is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.095 H 226.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F7B9B
RGBrgb(31, 123, 155)
HSLhsl(195, 67%, 36%)
HSVhsv(195, 80%, 61%)
CMYKcmyk(80%, 20.6%, 0%, 39.2%)
CIE-LABlab(48.04, -14.74, -24.66)
CIE-LCHlch(48.04, 28.73, 239.14°)
OKLaboklab(54.58% -0.0654 -0.0693)
OKLCHoklch(54.58% 0.095 226.6)
XYZxyz(13.5620, 16.8221, 33.5362)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B9B #9B3F1F
analogous
#1F9B7D #1F7B9B #1F3D9B
triadic
#1F7B9B #9B1F7B #7B9B1F
tetradic
#1F7B9B #7D1F9B #9B3F1F #3D9B1F
square
#1F7B9B #7D1F9B #9B3F1F #3D9B1F
split-complementary
#1F7B9B #9B1F3D #9B7D1F
monochromatic
#0B2A35 #155368 #1F7B9B #29A3CE #57BBDD

Accessibility & contrast

On white

4.81
#1F7B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F7B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B9B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B9B#FFFFFF#000000##FFFFFF
##1F7B9B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799D
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7b9b;
/* rgb */ color: rgb(31, 123, 155);
/* oklch */ color: oklch(54.6% 0.095 226.6);
Tailwind
colors: {
  custom: {
    50: '#70a1b8',
    500: '#1f7b9b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b9b;
$custom-light: #70a1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b9b",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 155
  },
  "hsl": {
    "h": 195.484,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.09526,
    "h": 226.6
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#1F7B9B
secondary
#C17155
accent
#6A3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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