#1F5782#1F5782

#1F5782 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.091 H 245.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#1F5782
RGBrgb(31, 87, 130)
HSLhsl(206, 61%, 32%)
HSVhsv(206, 76%, 51%)
CMYKcmyk(76.2%, 33.1%, 0%, 49%)
CIE-LABlab(35.44, -2.58, -29.34)
CIE-LCHlch(35.44, 29.45, 264.98°)
OKLaboklab(44.17% -0.0381 -0.0832)
OKLCHoklch(44.17% 0.091 245.4)
XYZxyz(8.0010, 8.7185, 22.3759)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5782 #824A1F
analogous
#1F827C #1F5782 #1F2582
triadic
#1F5782 #821F57 #57821F
tetradic
#1F5782 #7C1F82 #824A1F #25821F
square
#1F5782 #7C1F82 #824A1F #25821F
split-complementary
#1F5782 #821F25 #827C1F
monochromatic
#07151F #133651 #1F5782 #2B78B3 #4897D3

Accessibility & contrast

On white

7.65
#1F5782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F5782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5782
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5782#FFFFFF#000000##FFFFFF
##1F57821.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5782;
/* rgb */ color: rgb(31, 87, 130);
/* oklch */ color: oklch(44.2% 0.091 245.4);
Tailwind
colors: {
  custom: {
    50: '#6986a6',
    500: '#1f5782',
    950: '#000000',
  },
}
SCSS
$custom: #1f5782;
$custom-light: #6986a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5782",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 206.061,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.09148,
    "h": 245.4
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#1F5782
secondary
#B57748
accent
#8943E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5782

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

Preview Lab → · Contrast checker → · Palette generator →

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