#1F5671#1F5671

#1F5671 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.0% C 0.072 H 233.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1F5671
RGBrgb(31, 86, 113)
HSLhsl(200, 57%, 28%)
HSVhsv(200, 73%, 44%)
CMYKcmyk(72.6%, 23.9%, 0%, 55.7%)
CIE-LABlab(34.27, -8.38, -20.66)
CIE-LCHlch(34.27, 22.29, 247.93°)
OKLaboklab(42.97% -0.043 -0.058)
OKLCHoklch(42.97% 0.072 233.5)
XYZxyz(6.8723, 8.1384, 16.8283)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5671 #713A1F
analogous
#1F7163 #1F5671 #1F2D71
triadic
#1F5671 #711F56 #56711F
tetradic
#1F5671 #631F71 #713A1F #2D711F
square
#1F5671 #631F71 #713A1F #2D711F
split-complementary
#1F5671 #711F2D #71631F
monochromatic
#071218 #123141 #1F5671 #2C7BA1 #409DCB

Accessibility & contrast

On white

7.99
#1F5671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5671
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5671#FFFFFF#000000##FFFFFF
##1F56711.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495572
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#005D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5671;
/* rgb */ color: rgb(31, 86, 113);
/* oklch */ color: oklch(43.0% 0.072 233.5);
Tailwind
colors: {
  custom: {
    50: '#66859a',
    500: '#1f5671',
    950: '#000000',
  },
}
SCSS
$custom: #1f5671;
$custom-light: #66859a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5671",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 113
  },
  "hsl": {
    "h": 199.756,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.07222,
    "h": 233.5
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#1F5671
secondary
#A56647
accent
#7A48E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5671

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

Preview Lab → · Contrast checker → · Palette generator →

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