#1F5486#1F5486

#1F5486 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.7% C 0.100 H 250.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#1F5486
RGBrgb(31, 84, 134)
HSLhsl(209, 62%, 32%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(76.9%, 37.3%, 0%, 47.5%)
CIE-LABlab(34.71, 0.90, -32.95)
CIE-LCHlch(34.71, 32.96, 271.56°)
OKLaboklab(43.67% -0.0338 -0.0938)
OKLCHoklch(43.67% 0.1 250.2)
XYZxyz(8.0368, 8.3523, 23.7382)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5486 #86511F
analogous
#1F8684 #1F5486 #1F2186
triadic
#1F5486 #861F54 #54861F
tetradic
#1F5486 #841F86 #86511F #21861F
square
#1F5486 #841F86 #86511F #21861F
split-complementary
#1F5486 #861F21 #86841F
monochromatic
#081623 #143554 #1F5486 #2A73B8 #4A92D5

Accessibility & contrast

On white

7.86
#1F5486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F5486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5486
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5486#FFFFFF#000000##FFFFFF
##1F54861.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5486;
/* rgb */ color: rgb(31, 84, 134);
/* oklch */ color: oklch(43.7% 0.100 250.2);
Tailwind
colors: {
  custom: {
    50: '#6a83a9',
    500: '#1f5486',
    950: '#000000',
  },
}
SCSS
$custom: #1f5486;
$custom-light: #6a83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5486",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 209.126,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.09969,
    "h": 250.2
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#1F5486
secondary
#B87F49
accent
#9242E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5486

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

Preview Lab → · Contrast checker → · Palette generator →

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