#1F7186#1F7186

#1F7186 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.0% C 0.082 H 219.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F7186
RGBrgb(31, 113, 134)
HSLhsl(192, 62%, 32%)
HSVhsv(192, 77%, 53%)
CMYKcmyk(76.9%, 15.7%, 0%, 47.5%)
CIE-LABlab(43.98, -16.55, -18.49)
CIE-LCHlch(43.98, 24.82, 228.16°)
OKLaboklab(51.04% -0.0637 -0.0517)
OKLCHoklch(51.04% 0.082 219.1)
XYZxyz(10.7715, 13.8215, 24.6498)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7186 #86341F
analogous
#1F8668 #1F7186 #1F3E86
triadic
#1F7186 #861F71 #71861F
tetradic
#1F7186 #681F86 #86341F #3E861F
square
#1F7186 #681F86 #86341F #3E861F
split-complementary
#1F7186 #861F3E #86681F
monochromatic
#081D23 #144754 #1F7186 #2A9BB8 #4AB9D5

Accessibility & contrast

On white

5.58
#1F7186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#1F7186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7186
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7186#FFFFFF#000000##FFFFFF
##1F71861.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646E87
Deuteranopia (green-blind)
#566486
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7186;
/* rgb */ color: rgb(31, 113, 134);
/* oklch */ color: oklch(51.0% 0.082 219.1);
Tailwind
colors: {
  custom: {
    50: '#6c9aa9',
    500: '#1f7186',
    950: '#000000',
  },
}
SCSS
$custom: #1f7186;
$custom-light: #6c9aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7186",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 192.233,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.08199,
    "h": 219.1
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#1F7186
secondary
#B86049
accent
#6442E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7186

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

Preview Lab → · Contrast checker → · Palette generator →

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