#1F6888#1F6888

#1F6888 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.8% C 0.086 H 231.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#1F6888
RGBrgb(31, 104, 136)
HSLhsl(198, 63%, 33%)
HSVhsv(198, 77%, 53%)
CMYKcmyk(77.2%, 23.5%, 0%, 46.7%)
CIE-LABlab(41.17, -10.70, -24.03)
CIE-LCHlch(41.17, 26.30, 246.00°)
OKLaboklab(48.81% -0.0535 -0.0676)
OKLCHoklch(48.81% 0.086 231.6)
XYZxyz(9.9575, 11.9683, 25.0731)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6888 #883F1F
analogous
#1F8874 #1F6888 #1F3388
triadic
#1F6888 #881F68 #68881F
tetradic
#1F6888 #741F88 #883F1F #33881F
square
#1F6888 #741F88 #883F1F #33881F
split-complementary
#1F6888 #881F33 #88741F
monochromatic
#081C24 #144256 #1F6888 #2A8EBA #4BACD6

Accessibility & contrast

On white

6.19
#1F6888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6888
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6888#FFFFFF#000000##FFFFFF
##1F68881.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678A
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6888;
/* rgb */ color: rgb(31, 104, 136);
/* oklch */ color: oklch(48.8% 0.086 231.6);
Tailwind
colors: {
  custom: {
    50: '#6b93aa',
    500: '#1f6888',
    950: '#000000',
  },
}
SCSS
$custom: #1f6888;
$custom-light: #6b93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6888",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 136
  },
  "hsl": {
    "h": 198.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.08619,
    "h": 231.6
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#1F6888
secondary
#B96C4A
accent
#7442E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6888

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

Preview Lab → · Contrast checker → · Palette generator →

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