#1F5682#1F5682

#1F5682 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.092 H 246.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1F5682
RGBrgb(31, 86, 130)
HSLhsl(207, 61%, 32%)
HSVhsv(207, 76%, 51%)
CMYKcmyk(76.2%, 33.8%, 0%, 49%)
CIE-LABlab(35.12, -1.94, -29.84)
CIE-LCHlch(35.12, 29.90, 266.28°)
OKLaboklab(43.92% -0.037 -0.0847)
OKLCHoklch(43.92% 0.092 246.4)
XYZxyz(7.9206, 8.5577, 22.3491)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5682 #824B1F
analogous
#1F827D #1F5682 #1F2482
triadic
#1F5682 #821F56 #56821F
tetradic
#1F5682 #7D1F82 #824B1F #24821F
square
#1F5682 #7D1F82 #824B1F #24821F
split-complementary
#1F5682 #821F24 #827D1F
monochromatic
#07151F #133551 #1F5682 #2B77B3 #4895D3

Accessibility & contrast

On white

7.74
#1F5682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F5682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5682
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5682#FFFFFF#000000##FFFFFF
##1F56821.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5682;
/* rgb */ color: rgb(31, 86, 130);
/* oklch */ color: oklch(43.9% 0.092 246.4);
Tailwind
colors: {
  custom: {
    50: '#6985a6',
    500: '#1f5682',
    950: '#000000',
  },
}
SCSS
$custom: #1f5682;
$custom-light: #6985a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5682",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 206.667,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43919,
    "c": 0.09241,
    "h": 246.4
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#1F5682
secondary
#B57848
accent
#8B43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5682

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

Preview Lab → · Contrast checker → · Palette generator →

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