#1F5572#1F5572

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

Color values

HEX#1F5572
RGBrgb(31, 85, 114)
HSLhsl(201, 57%, 28%)
HSVhsv(201, 73%, 45%)
CMYKcmyk(72.8%, 25.4%, 0%, 55.3%)
CIE-LABlab(33.99, -7.39, -21.72)
CIE-LCHlch(33.99, 22.94, 251.20°)
OKLaboklab(42.76% -0.0415 -0.0611)
OKLCHoklch(42.76% 0.074 235.8)
XYZxyz(6.8496, 8.0025, 17.1000)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5572 #723C1F
analogous
#1F7265 #1F5572 #1F2B72
triadic
#1F5572 #721F55 #55721F
tetradic
#1F5572 #651F72 #723C1F #2B721F
square
#1F5572 #651F72 #723C1F #2B721F
split-complementary
#1F5572 #721F2B #72651F
monochromatic
#071218 #123142 #1F5572 #2C79A2 #409BCB

Accessibility & contrast

On white

8.08
#1F5572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1F5572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5572
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5572#FFFFFF#000000##FFFFFF
##1F55721.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#3C4C72
Tritanopia (blue-blind)
#005D5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5572;
/* rgb */ color: rgb(31, 85, 114);
/* oklch */ color: oklch(42.8% 0.074 235.8);
Tailwind
colors: {
  custom: {
    50: '#66849a',
    500: '#1f5572',
    950: '#000000',
  },
}
SCSS
$custom: #1f5572;
$custom-light: #66849a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5572",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 114
  },
  "hsl": {
    "h": 200.964,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.07385,
    "h": 235.8
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#1F5572
secondary
#A66847
accent
#7D47E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5572

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

Preview Lab → · Contrast checker → · Palette generator →

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