#1F7D9E#1F7D9E

#1F7D9E is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.097 H 227.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F7D9E
RGBrgb(31, 125, 158)
HSLhsl(196, 67%, 37%)
HSVhsv(196, 80%, 62%)
CMYKcmyk(80.4%, 20.9%, 0%, 38%)
CIE-LABlab(48.79, -14.79, -25.25)
CIE-LCHlch(48.79, 29.26, 239.63°)
OKLaboklab(55.23% -0.0662 -0.0709)
OKLCHoklch(55.23% 0.097 227)
XYZxyz(14.0677, 17.4254, 34.9631)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D9E #9E401F
analogous
#1F9E80 #1F7D9E #1F3D9E
triadic
#1F7D9E #9E1F7D #7D9E1F
tetradic
#1F7D9E #801F9E #9E401F #3D9E1F
square
#1F7D9E #801F9E #9E401F #3D9E1F
split-complementary
#1F7D9E #9E1F3D #9E801F
monochromatic
#0B2C38 #15556B #1F7D9E #29A5D1 #59BCDE

Accessibility & contrast

On white

4.68
#1F7D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F7D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D9E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D9E#FFFFFF#000000##FFFFFF
##1F7D9E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7BA0
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7d9e;
/* rgb */ color: rgb(31, 125, 158);
/* oklch */ color: oklch(55.2% 0.097 227.0);
Tailwind
colors: {
  custom: {
    50: '#70a2ba',
    500: '#1f7d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d9e;
$custom-light: #70a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d9e",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 158
  },
  "hsl": {
    "h": 195.591,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.09702,
    "h": 227
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#1F7D9E
secondary
#C27356
accent
#6B3EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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