#1F7A8F#1F7A8F

#1F7A8F is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.087 H 217.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1F7A8F
RGBrgb(31, 122, 143)
HSLhsl(191, 64%, 34%)
HSVhsv(191, 78%, 56%)
CMYKcmyk(78.3%, 14.7%, 0%, 43.9%)
CIE-LABlab(47.23, -18.39, -18.85)
CIE-LCHlch(47.23, 26.33, 225.71°)
OKLaboklab(53.77% -0.0692 -0.0526)
OKLCHoklch(53.77% 0.087 217.3)
XYZxyz(12.4804, 16.1920, 28.4489)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A8F #8F341F
analogous
#1F8F6C #1F7A8F #1F428F
triadic
#1F7A8F #8F1F7A #7A8F1F
tetradic
#1F7A8F #6C1F8F #8F341F #428F1F
square
#1F7A8F #6C1F8F #8F341F #428F1F
split-complementary
#1F7A8F #8F1F42 #8F6C1F
monochromatic
#09242A #144F5D #1F7A8F #2AA5C1 #4FBFD9

Accessibility & contrast

On white

4.95
#1F7A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#1F7A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A8F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A8F#FFFFFF#000000##FFFFFF
##1F7A8F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7a8f;
/* rgb */ color: rgb(31, 122, 143);
/* oklch */ color: oklch(53.8% 0.087 217.3);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#1f7a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a8f;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a8f",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 191.25,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.08698,
    "h": 217.3
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#1F7A8F
secondary
#BC634E
accent
#6040E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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