#1F5386#1F5386

#1F5386 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.101 H 251.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1F5386
RGBrgb(31, 83, 134)
HSLhsl(210, 62%, 32%)
HSVhsv(210, 77%, 53%)
CMYKcmyk(76.9%, 38.1%, 0%, 47.5%)
CIE-LABlab(34.39, 1.55, -33.45)
CIE-LCHlch(34.39, 33.48, 272.65°)
OKLaboklab(43.42% -0.0328 -0.0952)
OKLCHoklch(43.42% 0.101 251)
XYZxyz(7.9598, 8.1981, 23.7125)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5386 #86521F
analogous
#1F8686 #1F5386 #1F1F86
triadic
#1F5386 #861F53 #53861F
tetradic
#1F5386 #861F86 #86521F #1F861F
square
#1F5386 #861F86 #86521F #1F861F
split-complementary
#1F5386 #861F1F #86861F
monochromatic
#081523 #143454 #1F5386 #2A72B8 #4A90D5

Accessibility & contrast

On white

7.96
#1F5386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F5386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5386
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5386#FFFFFF#000000##FFFFFF
##1F53861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5386;
/* rgb */ color: rgb(31, 83, 134);
/* oklch */ color: oklch(43.4% 0.101 251.0);
Tailwind
colors: {
  custom: {
    50: '#6a83a9',
    500: '#1f5386',
    950: '#000000',
  },
}
SCSS
$custom: #1f5386;
$custom-light: #6a83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5386",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 209.709,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.10075,
    "h": 251
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#1F5386
secondary
#B88049
accent
#9342E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5386

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

Preview Lab → · Contrast checker → · Palette generator →

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