#1F5D71#1F5D71

#1F5D71 is a dark, moderate cyan. Relative luminance 0.093; OKLCH L 44.8% C 0.070 H 223.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#1F5D71
RGBrgb(31, 93, 113)
HSLhsl(195, 57%, 28%)
HSVhsv(195, 73%, 44%)
CMYKcmyk(72.6%, 17.7%, 0%, 55.7%)
CIE-LABlab(36.58, -12.56, -17.09)
CIE-LCHlch(36.58, 21.21, 233.69°)
OKLaboklab(44.81% -0.0508 -0.0478)
OKLCHoklch(44.81% 0.07 223.2)
XYZxyz(7.4588, 9.3114, 17.0238)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D71 #71331F
analogous
#1F715C #1F5D71 #1F3471
triadic
#1F5D71 #711F5D #5D711F
tetradic
#1F5D71 #5C1F71 #71331F #34711F
square
#1F5D71 #5C1F71 #71331F #34711F
split-complementary
#1F5D71 #711F34 #715C1F
monochromatic
#071418 #123541 #1F5D71 #2C85A1 #40A9CB

Accessibility & contrast

On white

7.34
#1F5D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#1F5D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D71
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D71#FFFFFF#000000##FFFFFF
##1F5D711.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#006363
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f5d71;
/* rgb */ color: rgb(31, 93, 113);
/* oklch */ color: oklch(44.8% 0.070 223.2);
Tailwind
colors: {
  custom: {
    50: '#668b99',
    500: '#1f5d71',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d71;
$custom-light: #668b99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d71",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 113
  },
  "hsl": {
    "h": 194.634,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.06976,
    "h": 223.2
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#1F5D71
secondary
#A55E47
accent
#6D48E0
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #1F5D71

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

Preview Lab → · Contrast checker → · Palette generator →

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