#1F7E9E#1F7E9E

#1F7E9E is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.5% C 0.097 H 226.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F7E9E
RGBrgb(31, 126, 158)
HSLhsl(195, 67%, 37%)
HSVhsv(195, 80%, 62%)
CMYKcmyk(80.4%, 20.3%, 0%, 38%)
CIE-LABlab(49.11, -15.35, -24.76)
CIE-LCHlch(49.11, 29.13, 238.20°)
OKLaboklab(55.48% -0.0672 -0.0695)
OKLCHoklch(55.48% 0.097 226)
XYZxyz(14.1949, 17.6799, 35.0055)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E9E #9E3F1F
analogous
#1F9E7F #1F7E9E #1F3F9E
triadic
#1F7E9E #9E1F7E #7E9E1F
tetradic
#1F7E9E #7F1F9E #9E3F1F #3F9E1F
square
#1F7E9E #7F1F9E #9E3F1F #3F9E1F
split-complementary
#1F7E9E #9E1F3F #9E7F1F
monochromatic
#0B2C38 #15556B #1F7E9E #29A7D1 #59BDDE

Accessibility & contrast

On white

4.63
#1F7E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F7E9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E9E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E9E#FFFFFF#000000##FFFFFF
##1F7E9E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7BA0
Deuteranopia (green-blind)
#5C6F9E
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7e9e;
/* rgb */ color: rgb(31, 126, 158);
/* oklch */ color: oklch(55.5% 0.097 226.0);
Tailwind
colors: {
  custom: {
    50: '#71a3ba',
    500: '#1f7e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e9e;
$custom-light: #71a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e9e",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 158
  },
  "hsl": {
    "h": 195.118,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.09669,
    "h": 226
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#1F7E9E
secondary
#C27256
accent
#693EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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