#1F7F9D#1F7F9D

#1F7F9D is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.096 H 224.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#1F7F9D
RGBrgb(31, 127, 157)
HSLhsl(194, 67%, 37%)
HSVhsv(194, 80%, 62%)
CMYKcmyk(80.3%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.38, -16.26, -23.76)
CIE-LCHlch(49.38, 28.79, 235.62°)
OKLaboklab(55.68% -0.0686 -0.0666)
OKLCHoklch(55.68% 0.096 224.2)
XYZxyz(14.2377, 17.9026, 34.5969)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F9D #9D3D1F
analogous
#1F9D7C #1F7F9D #1F409D
triadic
#1F7F9D #9D1F7F #7F9D1F
tetradic
#1F7F9D #7C1F9D #9D3D1F #409D1F
square
#1F7F9D #7C1F9D #9D3D1F #409D1F
split-complementary
#1F7F9D #9D1F40 #9D7C1F
monochromatic
#0B2C37 #15566A #1F7F9D #29A8D0 #58BEDE

Accessibility & contrast

On white

4.58
#1F7F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F7F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F7F9D
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F9D#FFFFFF#000000##000000
##1F7F9D1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7f9d;
/* rgb */ color: rgb(31, 127, 157);
/* oklch */ color: oklch(55.7% 0.096 224.2);
Tailwind
colors: {
  custom: {
    50: '#70a4ba',
    500: '#1f7f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f9d;
$custom-light: #70a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f9d",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 194.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.09561,
    "h": 224.2
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#1F7F9D
secondary
#C27056
accent
#673EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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