#1F7486#1F7486

#1F7486 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 51.8% C 0.082 H 215.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1F7486
RGBrgb(31, 116, 134)
HSLhsl(190, 62%, 32%)
HSVhsv(190, 77%, 53%)
CMYKcmyk(76.9%, 13.4%, 0%, 47.5%)
CIE-LABlab(44.94, -18.21, -17.00)
CIE-LCHlch(44.94, 24.91, 223.04°)
OKLaboklab(51.82% -0.0668 -0.0474)
OKLCHoklch(51.82% 0.082 215.4)
XYZxyz(11.1117, 14.5020, 24.7632)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7486 #86311F
analogous
#1F8664 #1F7486 #1F4186
triadic
#1F7486 #861F74 #74861F
tetradic
#1F7486 #641F86 #86311F #41861F
square
#1F7486 #641F86 #86311F #41861F
split-complementary
#1F7486 #861F41 #86641F
monochromatic
#081E23 #144954 #1F7486 #2A9FB8 #4ABDD5

Accessibility & contrast

On white

5.38
#1F7486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1F7486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7486
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7486#FFFFFF#000000##FFFFFF
##1F74861.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687087
Deuteranopia (green-blind)
#596686
Tritanopia (blue-blind)
#007B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7486;
/* rgb */ color: rgb(31, 116, 134);
/* oklch */ color: oklch(51.8% 0.082 215.4);
Tailwind
colors: {
  custom: {
    50: '#6c9ca9',
    500: '#1f7486',
    950: '#000000',
  },
}
SCSS
$custom: #1f7486;
$custom-light: #6c9ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7486",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 134
  },
  "hsl": {
    "h": 190.485,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.08194,
    "h": 215.4
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#1F7486
secondary
#B85C49
accent
#5F42E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7486

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

Preview Lab → · Contrast checker → · Palette generator →

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