#1F597D#1F597D

#1F597D is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.084 H 240.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#1F597D
RGBrgb(31, 89, 125)
HSLhsl(203, 60%, 31%)
HSVhsv(203, 75%, 49%)
CMYKcmyk(75.2%, 28.8%, 0%, 51%)
CIE-LABlab(35.82, -5.74, -25.66)
CIE-LCHlch(35.82, 26.30, 257.40°)
OKLaboklab(44.39% -0.0418 -0.0725)
OKLCHoklch(44.39% 0.084 240)
XYZxyz(7.8377, 8.9158, 20.7059)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F597D #7D431F
analogous
#1F7D72 #1F597D #1F2A7D
triadic
#1F597D #7D1F59 #597D1F
tetradic
#1F597D #721F7D #7D431F #2A7D1F
square
#1F597D #721F7D #7D431F #2A7D1F
split-complementary
#1F597D #7D1F2A #7D721F
monochromatic
#07131B #13364C #1F597D #2B7CAE #459CD1

Accessibility & contrast

On white

7.54
#1F597D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F597D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F597D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F597D#FFFFFF#000000##FFFFFF
##1F597D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f597d;
/* rgb */ color: rgb(31, 89, 125);
/* oklch */ color: oklch(44.4% 0.084 240.0);
Tailwind
colors: {
  custom: {
    50: '#6887a3',
    500: '#1f597d',
    950: '#000000',
  },
}
SCSS
$custom: #1f597d;
$custom-light: #6887a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f597d",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 125
  },
  "hsl": {
    "h": 202.979,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.08367,
    "h": 240
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#1F597D
secondary
#B07048
accent
#8144E3
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F597D

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

Preview Lab → · Contrast checker → · Palette generator →

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