#1F7688#1F7688

#1F7688 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.4% C 0.083 H 215.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F7688
RGBrgb(31, 118, 136)
HSLhsl(190, 63%, 33%)
HSVhsv(190, 77%, 53%)
CMYKcmyk(77.2%, 13.2%, 0%, 46.7%)
CIE-LABlab(45.67, -18.61, -17.09)
CIE-LCHlch(45.67, 25.27, 222.55°)
OKLaboklab(52.42% -0.068 -0.0477)
OKLCHoklch(52.42% 0.083 215)
XYZxyz(11.4855, 15.0244, 25.5824)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7688 #88311F
analogous
#1F8866 #1F7688 #1F4188
triadic
#1F7688 #881F76 #76881F
tetradic
#1F7688 #661F88 #88311F #41881F
square
#1F7688 #661F88 #88311F #41881F
split-complementary
#1F7688 #881F41 #88661F
monochromatic
#082024 #144B56 #1F7688 #2AA1BA #4BBED6

Accessibility & contrast

On white

5.24
#1F7688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1F7688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7688
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7688#FFFFFF#000000##FFFFFF
##1F76881.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697289
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7688;
/* rgb */ color: rgb(31, 118, 136);
/* oklch */ color: oklch(52.4% 0.083 215.0);
Tailwind
colors: {
  custom: {
    50: '#6c9daa',
    500: '#1f7688',
    950: '#000000',
  },
}
SCSS
$custom: #1f7688;
$custom-light: #6c9daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7688",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 136
  },
  "hsl": {
    "h": 190.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.08309,
    "h": 215
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#1F7688
secondary
#B95D4A
accent
#5E42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7688

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

Preview Lab → · Contrast checker → · Palette generator →

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