#1F597F#1F597F

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

Color values

HEX#1F597F
RGBrgb(31, 89, 127)
HSLhsl(204, 61%, 31%)
HSVhsv(204, 76%, 50%)
CMYKcmyk(75.6%, 29.9%, 0%, 50.2%)
CIE-LABlab(35.92, -4.98, -26.74)
CIE-LCHlch(35.92, 27.20, 259.44°)
OKLaboklab(44.5% -0.0411 -0.0756)
OKLCHoklch(44.5% 0.086 241.4)
XYZxyz(7.9667, 8.9675, 21.3856)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F597F #7F451F
analogous
#1F7F75 #1F597F #1F297F
triadic
#1F597F #7F1F59 #597F1F
tetradic
#1F597F #751F7F #7F451F #297F1F
square
#1F597F #751F7F #7F451F #297F1F
split-complementary
#1F597F #7F1F29 #7F751F
monochromatic
#07141D #13374E #1F597F #2B7BB0 #469BD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F597F#FFFFFF#000000##FFFFFF
##1F597F1.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)
#475A81
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f597f;
/* rgb */ color: rgb(31, 89, 127);
/* oklch */ color: oklch(44.5% 0.086 241.4);
Tailwind
colors: {
  custom: {
    50: '#6987a4',
    500: '#1f597f',
    950: '#000000',
  },
}
SCSS
$custom: #1f597f;
$custom-light: #6987a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f597f",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 127
  },
  "hsl": {
    "h": 203.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.08605,
    "h": 241.4
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#1F597F
secondary
#B27248
accent
#8344E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F597F

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

Preview Lab → · Contrast checker → · Palette generator →

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