#1F7E9D#1F7E9D

#1F7E9D is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.4% C 0.096 H 225.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F7E9D
RGBrgb(31, 126, 157)
HSLhsl(195, 67%, 37%)
HSVhsv(195, 80%, 62%)
CMYKcmyk(80.3%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.06, -15.70, -24.24)
CIE-LCHlch(49.06, 28.88, 237.07°)
OKLaboklab(55.43% -0.0676 -0.068)
OKLCHoklch(55.43% 0.096 225.2)
XYZxyz(14.1092, 17.6456, 34.5541)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E9D #9D3E1F
analogous
#1F9D7D #1F7E9D #1F3F9D
triadic
#1F7E9D #9D1F7E #7E9D1F
tetradic
#1F7E9D #7D1F9D #9D3E1F #3F9D1F
square
#1F7E9D #7D1F9D #9D3E1F #3F9D1F
split-complementary
#1F7E9D #9D1F3F #9D7D1F
monochromatic
#0B2C37 #15556A #1F7E9D #29A7D0 #58BDDE

Accessibility & contrast

On white

4.64
#1F7E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1F7E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E9D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E9D#FFFFFF#000000##FFFFFF
##1F7E9D1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9F
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7e9d;
/* rgb */ color: rgb(31, 126, 157);
/* oklch */ color: oklch(55.4% 0.096 225.2);
Tailwind
colors: {
  custom: {
    50: '#70a3ba',
    500: '#1f7e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e9d;
$custom-light: #70a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e9d",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 194.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.0959,
    "h": 225.2
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#1F7E9D
secondary
#C27056
accent
#683EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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