#1F7182#1F7182

#1F7182 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 50.9% C 0.080 H 214.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#1F7182
RGBrgb(31, 113, 130)
HSLhsl(190, 61%, 32%)
HSVhsv(190, 76%, 51%)
CMYKcmyk(76.2%, 13.1%, 0%, 49%)
CIE-LABlab(43.82, -17.94, -16.34)
CIE-LCHlch(43.82, 24.26, 222.33°)
OKLaboklab(50.86% -0.0654 -0.0455)
OKLCHoklch(50.86% 0.08 214.9)
XYZxyz(10.4978, 13.7120, 23.2082)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7182 #82301F
analogous
#1F8262 #1F7182 #1F4082
triadic
#1F7182 #821F71 #71821F
tetradic
#1F7182 #621F82 #82301F #40821F
square
#1F7182 #621F82 #82301F #40821F
split-complementary
#1F7182 #821F40 #82621F
monochromatic
#071B1F #134651 #1F7182 #2B9CB3 #48BBD3

Accessibility & contrast

On white

5.61
#1F7182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1F7182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7182
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7182#FFFFFF#000000##FFFFFF
##1F71821.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656D83
Deuteranopia (green-blind)
#576382
Tritanopia (blue-blind)
#007776
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7182;
/* rgb */ color: rgb(31, 113, 130);
/* oklch */ color: oklch(50.9% 0.080 214.9);
Tailwind
colors: {
  custom: {
    50: '#6b9aa6',
    500: '#1f7182',
    950: '#000000',
  },
}
SCSS
$custom: #1f7182;
$custom-light: #6b9aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7182",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 130
  },
  "hsl": {
    "h": 190.303,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.07967,
    "h": 214.9
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#1F7182
secondary
#B55B48
accent
#5F43E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7182

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

Preview Lab → · Contrast checker → · Palette generator →

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