#1F5B71#1F5B71

#1F5B71 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.3% C 0.070 H 226.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1F5B71
RGBrgb(31, 91, 113)
HSLhsl(196, 57%, 28%)
HSVhsv(196, 73%, 44%)
CMYKcmyk(72.6%, 19.5%, 0%, 55.7%)
CIE-LABlab(35.92, -11.38, -18.11)
CIE-LCHlch(35.92, 21.39, 237.85°)
OKLaboklab(44.28% -0.0486 -0.0507)
OKLCHoklch(44.28% 0.07 226.2)
XYZxyz(7.2856, 8.9649, 16.9660)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B71 #71351F
analogous
#1F715E #1F5B71 #1F3271
triadic
#1F5B71 #711F5B #5B711F
tetradic
#1F5B71 #5E1F71 #71351F #32711F
square
#1F5B71 #5E1F71 #71351F #32711F
split-complementary
#1F5B71 #711F32 #715E1F
monochromatic
#071318 #123441 #1F5B71 #2C82A1 #40A5CB

Accessibility & contrast

On white

7.52
#1F5B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F5B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B71
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B71#FFFFFF#000000##FFFFFF
##1F5B711.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5972
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#006162
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5b71;
/* rgb */ color: rgb(31, 91, 113);
/* oklch */ color: oklch(44.3% 0.070 226.2);
Tailwind
colors: {
  custom: {
    50: '#66899a',
    500: '#1f5b71',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b71;
$custom-light: #66899a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b71",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 113
  },
  "hsl": {
    "h": 196.098,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.07022,
    "h": 226.2
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#1F5B71
secondary
#A56047
accent
#7148E0
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5B71

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

Preview Lab → · Contrast checker → · Palette generator →

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