#1F5982#1F5982

#1F5982 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.090 H 243.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#1F5982
RGBrgb(31, 89, 130)
HSLhsl(205, 61%, 32%)
HSVhsv(205, 76%, 51%)
CMYKcmyk(76.2%, 31.5%, 0%, 49%)
CIE-LABlab(36.07, -3.84, -28.34)
CIE-LCHlch(36.07, 28.60, 262.29°)
OKLaboklab(44.67% -0.0401 -0.0802)
OKLCHoklch(44.67% 0.09 243.4)
XYZxyz(8.1652, 9.0468, 22.4306)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5982 #82481F
analogous
#1F827A #1F5982 #1F2882
triadic
#1F5982 #821F59 #59821F
tetradic
#1F5982 #7A1F82 #82481F #28821F
square
#1F5982 #7A1F82 #82481F #28821F
split-complementary
#1F5982 #821F28 #827A1F
monochromatic
#07151F #133751 #1F5982 #2B7BB3 #489AD3

Accessibility & contrast

On white

7.47
#1F5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5982
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5982#FFFFFF#000000##FFFFFF
##1F59821.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#385181
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5982;
/* rgb */ color: rgb(31, 89, 130);
/* oklch */ color: oklch(44.7% 0.090 243.4);
Tailwind
colors: {
  custom: {
    50: '#6987a6',
    500: '#1f5982',
    950: '#000000',
  },
}
SCSS
$custom: #1f5982;
$custom-light: #6987a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5982",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 204.848,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44674,
    "c": 0.0897,
    "h": 243.4
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#1F5982
secondary
#B57548
accent
#8643E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5982

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

Preview Lab → · Contrast checker → · Palette generator →

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