#1F7E9C#1F7E9C

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

Color values

HEX#1F7E9C
RGBrgb(31, 126, 156)
HSLhsl(194, 67%, 37%)
HSVhsv(194, 80%, 61%)
CMYKcmyk(80.1%, 19.2%, 0%, 38.8%)
CIE-LABlab(49.02, -16.06, -23.72)
CIE-LCHlch(49.02, 28.64, 235.91°)
OKLaboklab(55.39% -0.068 -0.0665)
OKLCHoklch(55.39% 0.095 224.4)
XYZxyz(14.0242, 17.6116, 34.1063)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E9C #9C3D1F
analogous
#1F9C7C #1F7E9C #1F409C
triadic
#1F7E9C #9C1F7E #7E9C1F
tetradic
#1F7E9C #7C1F9C #9C3D1F #409C1F
square
#1F7E9C #7C1F9C #9C3D1F #409C1F
split-complementary
#1F7E9C #9C1F40 #9C7C1F
monochromatic
#0B2C36 #155569 #1F7E9C #29A7CF #58BEDE

Accessibility & contrast

On white

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

On black

4.52
#1F7E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7E9C#FFFFFF#000000##FFFFFF
##1F7E9C1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9E
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7e9c;
/* rgb */ color: rgb(31, 126, 156);
/* oklch */ color: oklch(55.4% 0.095 224.4);
Tailwind
colors: {
  custom: {
    50: '#70a3b9',
    500: '#1f7e9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e9c;
$custom-light: #70a3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e9c",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 156
  },
  "hsl": {
    "h": 194.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.09513,
    "h": 224.4
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#1F7E9C
secondary
#C16F55
accent
#673EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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