#1F6C87#1F6C87

#1F6C87 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 49.8% C 0.084 H 226.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F6C87
RGBrgb(31, 108, 135)
HSLhsl(196, 63%, 33%)
HSVhsv(196, 77%, 53%)
CMYKcmyk(77%, 20%, 0%, 47.1%)
CIE-LABlab(42.41, -13.38, -21.50)
CIE-LCHlch(42.41, 25.33, 238.11°)
OKLaboklab(49.79% -0.058 -0.0603)
OKLCHoklch(49.79% 0.084 226.1)
XYZxyz(10.2990, 12.7645, 24.8380)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C87 #873A1F
analogous
#1F876E #1F6C87 #1F3887
triadic
#1F6C87 #871F6C #6C871F
tetradic
#1F6C87 #6E1F87 #873A1F #38871F
square
#1F6C87 #6E1F87 #873A1F #38871F
split-complementary
#1F6C87 #871F38 #876E1F
monochromatic
#081C23 #144455 #1F6C87 #2A94B9 #4BB2D6

Accessibility & contrast

On white

5.91
#1F6C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F6C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C87
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C87#FFFFFF#000000##FFFFFF
##1F6C871.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#007475
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6c87;
/* rgb */ color: rgb(31, 108, 135);
/* oklch */ color: oklch(49.8% 0.084 226.1);
Tailwind
colors: {
  custom: {
    50: '#6b96aa',
    500: '#1f6c87',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c87;
$custom-light: #6b96aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c87",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 135
  },
  "hsl": {
    "h": 195.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.08369,
    "h": 226.1
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#1F6C87
secondary
#B8664A
accent
#6D42E6
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6C87

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

Preview Lab → · Contrast checker → · Palette generator →

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