#1F5686#1F5686

#1F5686 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.098 H 248.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#1F5686
RGBrgb(31, 86, 134)
HSLhsl(208, 62%, 32%)
HSVhsv(208, 77%, 53%)
CMYKcmyk(76.9%, 35.8%, 0%, 47.5%)
CIE-LABlab(35.34, -0.39, -31.95)
CIE-LCHlch(35.34, 31.95, 269.30°)
OKLaboklab(44.16% -0.0358 -0.0908)
OKLCHoklch(44.16% 0.098 248.5)
XYZxyz(8.1943, 8.6672, 23.7907)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5686 #864F1F
analogous
#1F8682 #1F5686 #1F2386
triadic
#1F5686 #861F56 #56861F
tetradic
#1F5686 #821F86 #864F1F #23861F
square
#1F5686 #821F86 #864F1F #23861F
split-complementary
#1F5686 #861F23 #86821F
monochromatic
#081623 #143654 #1F5686 #2A76B8 #4A94D5

Accessibility & contrast

On white

7.68
#1F5686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F5686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5686
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5686#FFFFFF#000000##FFFFFF
##1F56861.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405888
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5686;
/* rgb */ color: rgb(31, 86, 134);
/* oklch */ color: oklch(44.2% 0.098 248.5);
Tailwind
colors: {
  custom: {
    50: '#6a85a9',
    500: '#1f5686',
    950: '#000000',
  },
}
SCSS
$custom: #1f5686;
$custom-light: #6a85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5686",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 207.961,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.09763,
    "h": 248.5
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#1F5686
secondary
#B87D49
accent
#8E42E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5686

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

Preview Lab → · Contrast checker → · Palette generator →

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