#1F7579#1F7579

#1F7579 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.5% C 0.078 H 199.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F7579
RGBrgb(31, 117, 121)
HSLhsl(183, 59%, 30%)
HSVhsv(183, 74%, 47%)
CMYKcmyk(74.4%, 3.3%, 0%, 52.5%)
CIE-LABlab(44.79, -23.07, -9.47)
CIE-LCHlch(44.79, 24.94, 202.33°)
OKLaboklab(51.53% -0.0737 -0.0263)
OKLCHoklch(51.53% 0.078 199.6)
XYZxyz(10.3760, 14.3931, 20.3168)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7579 #79231F
analogous
#1F7950 #1F7579 #1F4879
triadic
#1F7579 #791F75 #75791F
tetradic
#1F7579 #501F79 #79231F #48791F
square
#1F7579 #501F79 #79231F #48791F
split-complementary
#1F7579 #791F48 #79501F
monochromatic
#061818 #134648 #1F7579 #2BA4AA #43C9CF

Accessibility & contrast

On white

5.41
#1F7579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1F7579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7579
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7579#FFFFFF#000000##FFFFFF
##1F75791.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6F79
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#007976
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7579;
/* rgb */ color: rgb(31, 117, 121);
/* oklch */ color: oklch(51.5% 0.078 199.6);
Tailwind
colors: {
  custom: {
    50: '#6a9d9f',
    500: '#1f7579',
    950: '#000000',
  },
}
SCSS
$custom: #1f7579;
$custom-light: #6a9d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7579",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 121
  },
  "hsl": {
    "h": 182.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.07826,
    "h": 199.6
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#1F7579
secondary
#AC4C47
accent
#4C45E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7579

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

Preview Lab → · Contrast checker → · Palette generator →

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