#1F586F#1F586F

#1F586F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.4% C 0.069 H 228.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1F586F
RGBrgb(31, 88, 111)
HSLhsl(197, 56%, 28%)
HSVhsv(197, 72%, 44%)
CMYKcmyk(72.1%, 20.7%, 0%, 56.5%)
CIE-LABlab(34.84, -10.32, -18.53)
CIE-LCHlch(34.84, 21.21, 240.89°)
OKLaboklab(43.39% -0.046 -0.0519)
OKLCHoklch(43.39% 0.069 228.4)
XYZxyz(6.9229, 8.4177, 16.2958)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F586F #6F361F
analogous
#1F6F5E #1F586F #1F306F
triadic
#1F586F #6F1F58 #586F1F
tetradic
#1F586F #5E1F6F #6F361F #306F1F
square
#1F586F #5E1F6F #6F361F #306F1F
split-complementary
#1F586F #6F1F30 #6F5E1F
monochromatic
#071318 #12323F #1F586F #2C7E9F #3FA2C9

Accessibility & contrast

On white

7.83
#1F586F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1F586F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F586F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F586F#FFFFFF#000000##FFFFFF
##1F586F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5670
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f586f;
/* rgb */ color: rgb(31, 88, 111);
/* oklch */ color: oklch(43.4% 0.069 228.4);
Tailwind
colors: {
  custom: {
    50: '#668798',
    500: '#1f586f',
    950: '#000000',
  },
}
SCSS
$custom: #1f586f;
$custom-light: #668798;
$custom-dark: #000000;
JSON
{
  "hex": "#1f586f",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 111
  },
  "hsl": {
    "h": 197.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.06939,
    "h": 228.4
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#1F586F
secondary
#A36147
accent
#7448E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0D
muted
#7A7C7E

Preview Lab

Preview with #1F586F

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

Preview Lab → · Contrast checker → · Palette generator →

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