#1F5972#1F5972

#1F5972 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 43.8% C 0.072 H 230.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1F5972
RGBrgb(31, 89, 114)
HSLhsl(198, 57%, 28%)
HSVhsv(198, 73%, 45%)
CMYKcmyk(72.8%, 21.9%, 0%, 55.3%)
CIE-LABlab(35.30, -9.83, -19.68)
CIE-LCHlch(35.30, 22.00, 243.46°)
OKLaboklab(43.81% -0.046 -0.0552)
OKLCHoklch(43.81% 0.072 230.2)
XYZxyz(7.1735, 8.6502, 17.2079)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5972 #72381F
analogous
#1F7261 #1F5972 #1F2F72
triadic
#1F5972 #721F59 #59721F
tetradic
#1F5972 #611F72 #72381F #2F721F
square
#1F5972 #611F72 #72381F #2F721F
split-complementary
#1F5972 #721F2F #72611F
monochromatic
#071318 #123342 #1F5972 #2C7FA2 #40A1CB

Accessibility & contrast

On white

7.69
#1F5972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F5972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5972
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5972#FFFFFF#000000##FFFFFF
##1F59721.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5873
Deuteranopia (green-blind)
#414F72
Tritanopia (blue-blind)
#006061
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5972;
/* rgb */ color: rgb(31, 89, 114);
/* oklch */ color: oklch(43.8% 0.072 230.2);
Tailwind
colors: {
  custom: {
    50: '#66879a',
    500: '#1f5972',
    950: '#000000',
  },
}
SCSS
$custom: #1f5972;
$custom-light: #66879a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5972",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 114
  },
  "hsl": {
    "h": 198.072,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.07182,
    "h": 230.2
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#1F5972
secondary
#A66447
accent
#7547E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5972

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

Preview Lab → · Contrast checker → · Palette generator →

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