#1F5886#1F5886

#1F5886 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.096 H 246.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1F5886
RGBrgb(31, 88, 134)
HSLhsl(207, 62%, 32%)
HSVhsv(207, 77%, 53%)
CMYKcmyk(76.9%, 34.3%, 0%, 47.5%)
CIE-LABlab(35.97, -1.67, -30.95)
CIE-LCHlch(35.97, 31.00, 266.92°)
OKLaboklab(44.66% -0.0378 -0.0879)
OKLCHoklch(44.66% 0.096 246.7)
XYZxyz(8.3562, 8.9910, 23.8447)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5886 #864D1F
analogous
#1F8680 #1F5886 #1F2586
triadic
#1F5886 #861F58 #58861F
tetradic
#1F5886 #801F86 #864D1F #25861F
square
#1F5886 #801F86 #864D1F #25861F
split-complementary
#1F5886 #861F25 #86801F
monochromatic
#081723 #143754 #1F5886 #2A79B8 #4A97D5

Accessibility & contrast

On white

7.50
#1F5886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1F5886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5886
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5886#FFFFFF#000000##FFFFFF
##1F58861.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A88
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5886;
/* rgb */ color: rgb(31, 88, 134);
/* oklch */ color: oklch(44.7% 0.096 246.7);
Tailwind
colors: {
  custom: {
    50: '#6a86a9',
    500: '#1f5886',
    950: '#000000',
  },
}
SCSS
$custom: #1f5886;
$custom-light: #6a86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5886",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 206.796,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.09568,
    "h": 246.7
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#1F5886
secondary
#B87A49
accent
#8B42E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5886

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

Preview Lab → · Contrast checker → · Palette generator →

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