#1F5D79#1F5D79

#1F5D79 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.2% C 0.077 H 231.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1F5D79
RGBrgb(31, 93, 121)
HSLhsl(199, 59%, 30%)
HSVhsv(199, 74%, 47%)
CMYKcmyk(74.4%, 23.1%, 0%, 52.5%)
CIE-LABlab(36.93, -9.67, -21.48)
CIE-LCHlch(36.93, 23.55, 245.77°)
OKLaboklab(45.21% -0.0476 -0.0603)
OKLCHoklch(45.21% 0.077 231.7)
XYZxyz(7.9292, 9.4996, 19.5012)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D79 #793B1F
analogous
#1F7968 #1F5D79 #1F3079
triadic
#1F5D79 #791F5D #5D791F
tetradic
#1F5D79 #681F79 #793B1F #30791F
square
#1F5D79 #681F79 #793B1F #30791F
split-complementary
#1F5D79 #791F30 #79681F
monochromatic
#061318 #133848 #1F5D79 #2B82AA #43A4CF

Accessibility & contrast

On white

7.24
#1F5D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F5D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D79
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D79#FFFFFF#000000##FFFFFF
##1F5D791.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#006566
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5d79;
/* rgb */ color: rgb(31, 93, 121);
/* oklch */ color: oklch(45.2% 0.077 231.7);
Tailwind
colors: {
  custom: {
    50: '#688a9f',
    500: '#1f5d79',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d79;
$custom-light: #688a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d79",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 121
  },
  "hsl": {
    "h": 198.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.07685,
    "h": 231.7
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#1F5D79
secondary
#AC6747
accent
#7645E2
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5D79

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

Preview Lab → · Contrast checker → · Palette generator →

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