#1F7E9F#1F7E9F

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

Color values

HEX#1F7E9F
RGBrgb(31, 126, 159)
HSLhsl(195, 67%, 37%)
HSVhsv(195, 81%, 62%)
CMYKcmyk(80.5%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.15, -15.00, -25.28)
CIE-LCHlch(49.15, 29.39, 239.32°)
OKLaboklab(55.53% -0.0668 -0.071)
OKLCHoklch(55.53% 0.098 226.7)
XYZxyz(14.2813, 17.7145, 35.4607)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E9F #9F401F
analogous
#1F9F80 #1F7E9F #1F3E9F
triadic
#1F7E9F #9F1F7E #7E9F1F
tetradic
#1F7E9F #801F9F #9F401F #3E9F1F
square
#1F7E9F #801F9F #9F401F #3E9F1F
split-complementary
#1F7E9F #9F1F3E #9F801F
monochromatic
#0B2D39 #15556C #1F7E9F #29A7D2 #5ABCDF

Accessibility & contrast

On white

4.62
#1F7E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7E9F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E9F#FFFFFF#000000##FFFFFF
##1F7E9F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA1
Deuteranopia (green-blind)
#5B709F
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7e9f;
/* rgb */ color: rgb(31, 126, 159);
/* oklch */ color: oklch(55.5% 0.098 226.7);
Tailwind
colors: {
  custom: {
    50: '#71a3bb',
    500: '#1f7e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e9f;
$custom-light: #71a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e9f",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 195.469,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.0975,
    "h": 226.7
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#1F7E9F
secondary
#C37357
accent
#6A3EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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