#1F5D82#1F5D82

#1F5D82 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.7% C 0.087 H 239.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#1F5D82
RGBrgb(31, 93, 130)
HSLhsl(202, 61%, 32%)
HSVhsv(202, 76%, 51%)
CMYKcmyk(76.2%, 28.5%, 0%, 49%)
CIE-LABlab(37.35, -6.32, -26.33)
CIE-LCHlch(37.35, 27.08, 256.50°)
OKLaboklab(45.69% -0.0443 -0.0743)
OKLCHoklch(45.69% 0.087 239.2)
XYZxyz(8.5071, 9.7307, 22.5446)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D82 #82441F
analogous
#1F8276 #1F5D82 #1F2C82
triadic
#1F5D82 #821F5D #5D821F
tetradic
#1F5D82 #761F82 #82441F #2C821F
square
#1F5D82 #761F82 #82441F #2C821F
split-complementary
#1F5D82 #821F2C #82761F
monochromatic
#07161F #133A51 #1F5D82 #2B80B3 #489FD3

Accessibility & contrast

On white

7.13
#1F5D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F5D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D82
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D82#FFFFFF#000000##FFFFFF
##1F5D821.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D84
Deuteranopia (green-blind)
#3E5481
Tritanopia (blue-blind)
#00666A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5d82;
/* rgb */ color: rgb(31, 93, 130);
/* oklch */ color: oklch(45.7% 0.087 239.2);
Tailwind
colors: {
  custom: {
    50: '#698aa6',
    500: '#1f5d82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d82;
$custom-light: #698aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d82",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 130
  },
  "hsl": {
    "h": 202.424,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.08653,
    "h": 239.2
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#1F5D82
secondary
#B57148
accent
#8043E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D82

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

Preview Lab → · Contrast checker → · Palette generator →

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