#1F6A87#1F6A87

#1F6A87 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.3% C 0.084 H 228.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F6A87
RGBrgb(31, 106, 135)
HSLhsl(197, 63%, 33%)
HSVhsv(197, 77%, 53%)
CMYKcmyk(77%, 21.5%, 0%, 47.1%)
CIE-LABlab(41.76, -12.23, -22.50)
CIE-LCHlch(41.76, 25.61, 241.48°)
OKLaboklab(49.28% -0.0559 -0.0632)
OKLCHoklch(49.28% 0.084 228.5)
XYZxyz(10.0905, 12.3474, 24.7685)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A87 #873C1F
analogous
#1F8770 #1F6A87 #1F3687
triadic
#1F6A87 #871F6A #6A871F
tetradic
#1F6A87 #701F87 #873C1F #36871F
square
#1F6A87 #701F87 #873C1F #36871F
split-complementary
#1F6A87 #871F36 #87701F
monochromatic
#081C23 #144355 #1F6A87 #2A91B9 #4BAFD6

Accessibility & contrast

On white

6.05
#1F6A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1F6A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A87
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A87#FFFFFF#000000##FFFFFF
##1F6A871.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007274
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f6a87;
/* rgb */ color: rgb(31, 106, 135);
/* oklch */ color: oklch(49.3% 0.084 228.5);
Tailwind
colors: {
  custom: {
    50: '#6b94aa',
    500: '#1f6a87',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a87;
$custom-light: #6b94aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a87",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 135
  },
  "hsl": {
    "h": 196.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.08439,
    "h": 228.5
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#1F6A87
secondary
#B8684A
accent
#7042E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6A87

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

Preview Lab → · Contrast checker → · Palette generator →

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