#1F4982#1F4982

#1F4982 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.107 H 256.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#1F4982
RGBrgb(31, 73, 130)
HSLhsl(215, 61%, 32%)
HSVhsv(215, 76%, 51%)
CMYKcmyk(76.2%, 43.8%, 0%, 49%)
CIE-LABlab(31.04, 6.59, -36.32)
CIE-LCHlch(31.04, 36.91, 280.29°)
OKLaboklab(40.73% -0.0241 -0.1039)
OKLCHoklch(40.73% 0.107 256.9)
XYZxyz(6.9754, 6.6673, 22.0341)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4982 #82581F
analogous
#1F7B82 #1F4982 #261F82
triadic
#1F4982 #821F49 #49821F
tetradic
#1F4982 #821F7B #82581F #1F8226
square
#1F4982 #821F7B #82581F #1F8226
split-complementary
#1F4982 #82261F #7B821F
monochromatic
#07121F #132D51 #1F4982 #2B65B3 #4883D3

Accessibility & contrast

On white

9.00
#1F4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4982
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4982#FFFFFF#000000##FFFFFF
##1F49821.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4982;
/* rgb */ color: rgb(31, 73, 130);
/* oklch */ color: oklch(40.7% 0.107 256.9);
Tailwind
colors: {
  custom: {
    50: '#697ba7',
    500: '#1f4982',
    950: '#000000',
  },
}
SCSS
$custom: #1f4982;
$custom-light: #697ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4982",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 214.545,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.10662,
    "h": 256.9
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#1F4982
secondary
#B58748
accent
#A043E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4982

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

Preview Lab → · Contrast checker → · Palette generator →

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