#1F5D86#1F5D86

#1F5D86 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.9% C 0.091 H 242.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1F5D86
RGBrgb(31, 93, 134)
HSLhsl(204, 62%, 32%)
HSVhsv(204, 77%, 53%)
CMYKcmyk(76.9%, 30.6%, 0%, 47.5%)
CIE-LABlab(37.55, -4.81, -28.46)
CIE-LCHlch(37.55, 28.86, 260.41°)
OKLaboklab(45.91% -0.0429 -0.0805)
OKLCHoklch(45.91% 0.091 242)
XYZxyz(8.7808, 9.8402, 23.9862)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D86 #86481F
analogous
#1F867B #1F5D86 #1F2A86
triadic
#1F5D86 #861F5D #5D861F
tetradic
#1F5D86 #7B1F86 #86481F #2A861F
square
#1F5D86 #7B1F86 #86481F #2A861F
split-complementary
#1F5D86 #861F2A #867B1F
monochromatic
#081823 #143B54 #1F5D86 #2A7FB8 #4A9ED5

Accessibility & contrast

On white

7.07
#1F5D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1F5D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D86
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D86#FFFFFF#000000##FFFFFF
##1F5D861.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E88
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5d86;
/* rgb */ color: rgb(31, 93, 134);
/* oklch */ color: oklch(45.9% 0.091 242.0);
Tailwind
colors: {
  custom: {
    50: '#6a8aa9',
    500: '#1f5d86',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d86;
$custom-light: #6a8aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d86",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 134
  },
  "hsl": {
    "h": 203.883,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.09124,
    "h": 242
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#1F5D86
secondary
#B87549
accent
#8342E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5D86

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

Preview Lab → · Contrast checker → · Palette generator →

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