#1F6887#1F6887

#1F6887 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.8% C 0.085 H 230.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1F6887
RGBrgb(31, 104, 135)
HSLhsl(198, 63%, 33%)
HSVhsv(198, 77%, 53%)
CMYKcmyk(77%, 23%, 0%, 47.1%)
CIE-LABlab(41.12, -11.06, -23.49)
CIE-LCHlch(41.12, 25.97, 244.79°)
OKLaboklab(48.76% -0.0539 -0.066)
OKLCHoklch(48.76% 0.085 230.8)
XYZxyz(9.8868, 11.9400, 24.7006)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6887 #873E1F
analogous
#1F8772 #1F6887 #1F3487
triadic
#1F6887 #871F68 #68871F
tetradic
#1F6887 #721F87 #873E1F #34871F
square
#1F6887 #721F87 #873E1F #34871F
split-complementary
#1F6887 #871F34 #87721F
monochromatic
#081B23 #144255 #1F6887 #2A8EB9 #4BACD6

Accessibility & contrast

On white

6.20
#1F6887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1F6887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6887
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6887#FFFFFF#000000##FFFFFF
##1F68871.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586788
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6887;
/* rgb */ color: rgb(31, 104, 135);
/* oklch */ color: oklch(48.8% 0.085 230.8);
Tailwind
colors: {
  custom: {
    50: '#6b93aa',
    500: '#1f6887',
    950: '#000000',
  },
}
SCSS
$custom: #1f6887;
$custom-light: #6b93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6887",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 197.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.08523,
    "h": 230.8
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#1F6887
secondary
#B86B4A
accent
#7342E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6887

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

Preview Lab → · Contrast checker → · Palette generator →

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