#1F5986#1F5986

#1F5986 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.095 H 245.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#1F5986
RGBrgb(31, 89, 134)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 77%, 53%)
CMYKcmyk(76.9%, 33.6%, 0%, 47.5%)
CIE-LABlab(36.28, -2.30, -30.45)
CIE-LCHlch(36.28, 30.54, 265.68°)
OKLaboklab(44.91% -0.0388 -0.0864)
OKLCHoklch(44.91% 0.095 245.8)
XYZxyz(8.4389, 9.1563, 23.8722)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5986 #864C1F
analogous
#1F8680 #1F5986 #1F2586
triadic
#1F5986 #861F59 #59861F
tetradic
#1F5986 #801F86 #864C1F #25861F
square
#1F5986 #801F86 #864C1F #25861F
split-complementary
#1F5986 #861F25 #86801F
monochromatic
#081723 #143854 #1F5986 #2A7AB8 #4A98D5

Accessibility & contrast

On white

7.42
#1F5986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F5986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5986
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5986#FFFFFF#000000##FFFFFF
##1F59861.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5986;
/* rgb */ color: rgb(31, 89, 134);
/* oklch */ color: oklch(44.9% 0.095 245.8);
Tailwind
colors: {
  custom: {
    50: '#6a87a9',
    500: '#1f5986',
    950: '#000000',
  },
}
SCSS
$custom: #1f5986;
$custom-light: #6a87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5986",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 206.214,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.09473,
    "h": 245.8
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#1F5986
secondary
#B87949
accent
#8A42E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5986

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

Preview Lab → · Contrast checker → · Palette generator →

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