#1F5477#1F5477

#1F5477 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.8% C 0.080 H 241.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1F5477
RGBrgb(31, 84, 119)
HSLhsl(204, 59%, 29%)
HSVhsv(204, 74%, 47%)
CMYKcmyk(73.9%, 29.4%, 0%, 53.3%)
CIE-LABlab(33.91, -4.89, -24.96)
CIE-LCHlch(33.91, 25.43, 258.91°)
OKLaboklab(42.78% -0.0386 -0.0705)
OKLCHoklch(42.78% 0.08 241.3)
XYZxyz(7.0639, 7.9631, 18.6139)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5477 #77421F
analogous
#1F776E #1F5477 #1F2877
triadic
#1F5477 #771F54 #54771F
tetradic
#1F5477 #6E1F77 #77421F #28771F
square
#1F5477 #6E1F77 #77421F #28771F
split-complementary
#1F5477 #771F28 #776E1F
monochromatic
#061118 #123246 #1F5477 #2C76A8 #4396CE

Accessibility & contrast

On white

8.10
#1F5477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F5477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5477
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5477#FFFFFF#000000##FFFFFF
##1F54771.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445479
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#005D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5477;
/* rgb */ color: rgb(31, 84, 119);
/* oklch */ color: oklch(42.8% 0.080 241.3);
Tailwind
colors: {
  custom: {
    50: '#67849e',
    500: '#1f5477',
    950: '#000000',
  },
}
SCSS
$custom: #1f5477;
$custom-light: #67849e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5477",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 203.864,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.08033,
    "h": 241.3
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#1F5477
secondary
#AB6F47
accent
#8446E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5477

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

Preview Lab → · Contrast checker → · Palette generator →

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