#1F5472#1F5472

#1F5472 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.074 H 237.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1F5472
RGBrgb(31, 84, 114)
HSLhsl(202, 57%, 28%)
HSVhsv(202, 73%, 45%)
CMYKcmyk(72.8%, 26.3%, 0%, 55.3%)
CIE-LABlab(33.66, -6.78, -22.23)
CIE-LCHlch(33.66, 23.24, 253.05°)
OKLaboklab(42.5% -0.0404 -0.0626)
OKLCHoklch(42.5% 0.074 237.2)
XYZxyz(6.7715, 7.8461, 17.0739)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5472 #723D1F
analogous
#1F7266 #1F5472 #1F2A72
triadic
#1F5472 #721F54 #54721F
tetradic
#1F5472 #661F72 #723D1F #2A721F
square
#1F5472 #661F72 #723D1F #2A721F
split-complementary
#1F5472 #721F2A #72661F
monochromatic
#071218 #123142 #1F5472 #2C77A2 #4099CB

Accessibility & contrast

On white

8.17
#1F5472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1F5472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5472
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5472#FFFFFF#000000##FFFFFF
##1F54721.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#3A4C71
Tritanopia (blue-blind)
#005C5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5472;
/* rgb */ color: rgb(31, 84, 114);
/* oklch */ color: oklch(42.5% 0.074 237.2);
Tailwind
colors: {
  custom: {
    50: '#66849a',
    500: '#1f5472',
    950: '#000000',
  },
}
SCSS
$custom: #1f5472;
$custom-light: #66849a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5472",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 114
  },
  "hsl": {
    "h": 201.687,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.07447,
    "h": 237.2
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#1F5472
secondary
#A66947
accent
#7F47E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5472

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

Preview Lab → · Contrast checker → · Palette generator →

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