#1F5677#1F5677

#1F5677 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.3% C 0.079 H 238.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1F5677
RGBrgb(31, 86, 119)
HSLhsl(203, 59%, 29%)
HSVhsv(203, 74%, 47%)
CMYKcmyk(73.9%, 27.7%, 0%, 53.3%)
CIE-LABlab(34.56, -6.14, -23.94)
CIE-LCHlch(34.56, 24.72, 255.61°)
OKLaboklab(43.29% -0.0407 -0.0675)
OKLCHoklch(43.29% 0.079 238.9)
XYZxyz(7.2213, 8.2780, 18.6664)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5677 #77401F
analogous
#1F776C #1F5677 #1F2A77
triadic
#1F5677 #771F56 #56771F
tetradic
#1F5677 #6C1F77 #77401F #2A771F
square
#1F5677 #6C1F77 #77401F #2A771F
split-complementary
#1F5677 #771F2A #776C1F
monochromatic
#061218 #123346 #1F5677 #2C79A8 #439ACE

Accessibility & contrast

On white

7.91
#1F5677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F5677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5677
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5677#FFFFFF#000000##FFFFFF
##1F56771.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475679
Deuteranopia (green-blind)
#3B4D76
Tritanopia (blue-blind)
#005E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5677;
/* rgb */ color: rgb(31, 86, 119);
/* oklch */ color: oklch(43.3% 0.079 238.9);
Tailwind
colors: {
  custom: {
    50: '#67859e',
    500: '#1f5677',
    950: '#000000',
  },
}
SCSS
$custom: #1f5677;
$custom-light: #67859e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5677",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 119
  },
  "hsl": {
    "h": 202.5,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.07885,
    "h": 238.9
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#1F5677
secondary
#AB6C47
accent
#8046E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5677

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

Preview Lab → · Contrast checker → · Palette generator →

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