#1F5586#1F5586

#1F5586 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.099 H 249.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#1F5586
RGBrgb(31, 85, 134)
HSLhsl(209, 62%, 32%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(76.9%, 36.6%, 0%, 47.5%)
CIE-LABlab(35.02, 0.25, -32.45)
CIE-LCHlch(35.02, 32.45, 270.44°)
OKLaboklab(43.91% -0.0348 -0.0923)
OKLCHoklch(43.91% 0.099 249.3)
XYZxyz(8.1150, 8.5086, 23.7643)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5586 #86501F
analogous
#1F8684 #1F5586 #1F2186
triadic
#1F5586 #861F55 #55861F
tetradic
#1F5586 #841F86 #86501F #21861F
square
#1F5586 #841F86 #86501F #21861F
split-complementary
#1F5586 #861F21 #86841F
monochromatic
#081623 #143554 #1F5586 #2A75B8 #4A93D5

Accessibility & contrast

On white

7.77
#1F5586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5586
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5586#FFFFFF#000000##FFFFFF
##1F55861.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5888
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5586;
/* rgb */ color: rgb(31, 85, 134);
/* oklch */ color: oklch(43.9% 0.099 249.3);
Tailwind
colors: {
  custom: {
    50: '#6a84a9',
    500: '#1f5586',
    950: '#000000',
  },
}
SCSS
$custom: #1f5586;
$custom-light: #6a84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5586",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 134
  },
  "hsl": {
    "h": 208.544,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.09865,
    "h": 249.3
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#1F5586
secondary
#B87E49
accent
#9042E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5586

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

Preview Lab → · Contrast checker → · Palette generator →

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