#1F6788#1F6788

#1F6788 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.087 H 232.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#1F6788
RGBrgb(31, 103, 136)
HSLhsl(199, 63%, 33%)
HSVhsv(199, 77%, 53%)
CMYKcmyk(77.2%, 24.3%, 0%, 46.7%)
CIE-LABlab(40.85, -10.11, -24.52)
CIE-LCHlch(40.85, 26.52, 247.60°)
OKLaboklab(48.56% -0.0524 -0.069)
OKLCHoklch(48.56% 0.087 232.8)
XYZxyz(9.8575, 11.7682, 25.0397)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6788 #88401F
analogous
#1F8874 #1F6788 #1F3388
triadic
#1F6788 #881F67 #67881F
tetradic
#1F6788 #741F88 #88401F #33881F
square
#1F6788 #741F88 #88401F #33881F
split-complementary
#1F6788 #881F33 #88741F
monochromatic
#081C24 #144156 #1F6788 #2A8DBA #4BAAD6

Accessibility & contrast

On white

6.26
#1F6788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#1F6788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6788
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6788#FFFFFF#000000##FFFFFF
##1F67881.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57668A
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6788;
/* rgb */ color: rgb(31, 103, 136);
/* oklch */ color: oklch(48.6% 0.087 232.8);
Tailwind
colors: {
  custom: {
    50: '#6b92ab',
    500: '#1f6788',
    950: '#000000',
  },
}
SCSS
$custom: #1f6788;
$custom-light: #6b92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6788",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 198.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.0867,
    "h": 232.8
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#1F6788
secondary
#B96D4A
accent
#7542E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080D10
muted
#7A7D7F

Preview Lab

Preview with #1F6788

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

Preview Lab → · Contrast checker → · Palette generator →

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