#1F6987#1F6987

#1F6987 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.085 H 229.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F6987
RGBrgb(31, 105, 135)
HSLhsl(197, 63%, 33%)
HSVhsv(197, 77%, 53%)
CMYKcmyk(77%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.44, -11.65, -23.00)
CIE-LCHlch(41.44, 25.78, 243.14°)
OKLaboklab(49.02% -0.0549 -0.0646)
OKLCHoklch(49.02% 0.085 229.6)
XYZxyz(9.9880, 12.1425, 24.7343)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6987 #873D1F
analogous
#1F8771 #1F6987 #1F3587
triadic
#1F6987 #871F69 #69871F
tetradic
#1F6987 #711F87 #873D1F #35871F
square
#1F6987 #711F87 #873D1F #35871F
split-complementary
#1F6987 #871F35 #87711F
monochromatic
#081C23 #144255 #1F6987 #2A90B9 #4BAED6

Accessibility & contrast

On white

6.12
#1F6987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#1F6987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6987
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6987#FFFFFF#000000##FFFFFF
##1F69871.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6788
Deuteranopia (green-blind)
#4C5D87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6987;
/* rgb */ color: rgb(31, 105, 135);
/* oklch */ color: oklch(49.0% 0.085 229.6);
Tailwind
colors: {
  custom: {
    50: '#6b93aa',
    500: '#1f6987',
    950: '#000000',
  },
}
SCSS
$custom: #1f6987;
$custom-light: #6b93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6987",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 197.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.08478,
    "h": 229.6
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#1F6987
secondary
#B86A4A
accent
#7142E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6987

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

Preview Lab → · Contrast checker → · Palette generator →

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