#1F7E9A#1F7E9A

#1F7E9A is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.3% C 0.094 H 222.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F7E9A
RGBrgb(31, 126, 154)
HSLhsl(194, 66%, 36%)
HSVhsv(194, 80%, 60%)
CMYKcmyk(79.9%, 18.2%, 0%, 39.6%)
CIE-LABlab(48.94, -16.76, -22.68)
CIE-LCHlch(48.94, 28.20, 233.54°)
OKLaboklab(55.29% -0.0688 -0.0636)
OKLCHoklch(55.29% 0.094 222.7)
XYZxyz(13.8562, 17.5444, 33.2217)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E9A #9A3B1F
analogous
#1F9A79 #1F7E9A #1F419A
triadic
#1F7E9A #9A1F7E #7E9A1F
tetradic
#1F7E9A #791F9A #9A3B1F #419A1F
square
#1F7E9A #791F9A #9A3B1F #419A1F
split-complementary
#1F7E9A #9A1F41 #9A791F
monochromatic
#0A2B34 #155467 #1F7E9A #29A8CD #56BEDD

Accessibility & contrast

On white

4.66
#1F7E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F7E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E9A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E9A#FFFFFF#000000##FFFFFF
##1F7E9A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9B
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7e9a;
/* rgb */ color: rgb(31, 126, 154);
/* oklch */ color: oklch(55.3% 0.094 222.7);
Tailwind
colors: {
  custom: {
    50: '#70a3b7',
    500: '#1f7e9a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e9a;
$custom-light: #70a3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e9a",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 154
  },
  "hsl": {
    "h": 193.659,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.09364,
    "h": 222.7
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#1F7E9A
secondary
#C16D54
accent
#653EE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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