#1F5F86#1F5F86

#1F5F86 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.090 H 239.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1F5F86
RGBrgb(31, 95, 134)
HSLhsl(203, 62%, 32%)
HSVhsv(203, 77%, 53%)
CMYKcmyk(76.9%, 29.1%, 0%, 47.5%)
CIE-LABlab(38.19, -6.04, -27.46)
CIE-LCHlch(38.19, 28.11, 257.60°)
OKLaboklab(46.42% -0.0449 -0.0776)
OKLCHoklch(46.42% 0.09 239.9)
XYZxyz(8.9587, 10.1959, 24.0455)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F86 #86461F
analogous
#1F8679 #1F5F86 #1F2C86
triadic
#1F5F86 #861F5F #5F861F
tetradic
#1F5F86 #791F86 #86461F #2C861F
square
#1F5F86 #791F86 #86461F #2C861F
split-complementary
#1F5F86 #861F2C #86791F
monochromatic
#081923 #143C54 #1F5F86 #2A82B8 #4AA1D5

Accessibility & contrast

On white

6.91
#1F5F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1F5F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F86
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F86#FFFFFF#000000##FFFFFF
##1F5F861.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F88
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5f86;
/* rgb */ color: rgb(31, 95, 134);
/* oklch */ color: oklch(46.4% 0.090 239.9);
Tailwind
colors: {
  custom: {
    50: '#6a8ca9',
    500: '#1f5f86',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f86;
$custom-light: #6a8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f86",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 134
  },
  "hsl": {
    "h": 202.718,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.08966,
    "h": 239.9
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#1F5F86
secondary
#B87349
accent
#8042E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1F5F86

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

Preview Lab → · Contrast checker → · Palette generator →

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