#1F5F85#1F5F85

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

Color values

HEX#1F5F85
RGBrgb(31, 95, 133)
HSLhsl(202, 62%, 32%)
HSVhsv(202, 77%, 52%)
CMYKcmyk(76.7%, 28.6%, 0%, 47.8%)
CIE-LABlab(38.14, -6.41, -26.92)
CIE-LCHlch(38.14, 27.68, 256.60°)
OKLaboklab(46.36% -0.0453 -0.0761)
OKLCHoklch(46.36% 0.089 239.2)
XYZxyz(8.8893, 10.1681, 23.6799)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F85 #85451F
analogous
#1F8578 #1F5F85 #1F2C85
triadic
#1F5F85 #851F5F #5F851F
tetradic
#1F5F85 #781F85 #85451F #2C851F
square
#1F5F85 #781F85 #85451F #2C851F
split-complementary
#1F5F85 #851F2C #85781F
monochromatic
#081822 #133C53 #1F5F85 #2B82B7 #4AA1D5

Accessibility & contrast

On white

6.92
#1F5F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F5F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F85
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F85#FFFFFF#000000##FFFFFF
##1F5F851.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F87
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#00696C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5f85;
/* rgb */ color: rgb(31, 95, 133);
/* oklch */ color: oklch(46.4% 0.089 239.2);
Tailwind
colors: {
  custom: {
    50: '#6a8ca8',
    500: '#1f5f85',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f85;
$custom-light: #6a8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f85",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 133
  },
  "hsl": {
    "h": 202.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.08851,
    "h": 239.2
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#1F5F85
secondary
#B77249
accent
#7F43E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F5F85

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

Preview Lab → · Contrast checker → · Palette generator →

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