#1F5D80#1F5D80

#1F5D80 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.6% C 0.084 H 237.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#1F5D80
RGBrgb(31, 93, 128)
HSLhsl(202, 61%, 31%)
HSVhsv(202, 76%, 50%)
CMYKcmyk(75.8%, 27.3%, 0%, 49.8%)
CIE-LABlab(37.26, -7.07, -25.26)
CIE-LCHlch(37.26, 26.23, 254.36°)
OKLaboklab(45.58% -0.045 -0.0712)
OKLCHoklch(45.58% 0.084 237.7)
XYZxyz(8.3742, 9.6776, 21.8445)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D80 #80421F
analogous
#1F8072 #1F5D80 #1F2D80
triadic
#1F5D80 #801F5D #5D801F
tetradic
#1F5D80 #721F80 #80421F #2D801F
square
#1F5D80 #721F80 #80421F #2D801F
split-complementary
#1F5D80 #801F2D #80721F
monochromatic
#07151D #13394F #1F5D80 #2B81B1 #47A0D2

Accessibility & contrast

On white

7.15
#1F5D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#1F5D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D80
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D80#FFFFFF#000000##FFFFFF
##1F5D801.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D82
Deuteranopia (green-blind)
#3F547F
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5d80;
/* rgb */ color: rgb(31, 93, 128);
/* oklch */ color: oklch(45.6% 0.084 237.7);
Tailwind
colors: {
  custom: {
    50: '#698aa5',
    500: '#1f5d80',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d80;
$custom-light: #698aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d80",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 128
  },
  "hsl": {
    "h": 201.649,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45578,
    "c": 0.08426,
    "h": 237.7
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#1F5D80
secondary
#B36E48
accent
#7E44E4
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5D80

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

Preview Lab → · Contrast checker → · Palette generator →

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