#1F5D85#1F5D85

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

Color values

HEX#1F5D85
RGBrgb(31, 93, 133)
HSLhsl(204, 62%, 32%)
HSVhsv(204, 77%, 52%)
CMYKcmyk(76.7%, 30.1%, 0%, 47.8%)
CIE-LABlab(37.50, -5.19, -27.93)
CIE-LCHlch(37.50, 28.40, 259.48°)
OKLaboklab(45.86% -0.0432 -0.079)
OKLCHoklch(45.86% 0.09 241.3)
XYZxyz(8.7114, 9.8125, 23.6206)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D85 #85471F
analogous
#1F857A #1F5D85 #1F2A85
triadic
#1F5D85 #851F5D #5D851F
tetradic
#1F5D85 #7A1F85 #85471F #2A851F
square
#1F5D85 #7A1F85 #85471F #2A851F
split-complementary
#1F5D85 #851F2A #857A1F
monochromatic
#081822 #133A53 #1F5D85 #2B80B7 #4A9ED5

Accessibility & contrast

On white

7.09
#1F5D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1F5D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D85
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D85#FFFFFF#000000##FFFFFF
##1F5D851.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5d85;
/* rgb */ color: rgb(31, 93, 133);
/* oklch */ color: oklch(45.9% 0.090 241.3);
Tailwind
colors: {
  custom: {
    50: '#6a8aa8',
    500: '#1f5d85',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d85;
$custom-light: #6a8aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d85",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 133
  },
  "hsl": {
    "h": 203.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.09004,
    "h": 241.3
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#1F5D85
secondary
#B77449
accent
#8243E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D85

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

Preview Lab → · Contrast checker → · Palette generator →

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