#1F7480#1F7480

#1F7480 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.6% C 0.079 H 208.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1F7480
RGBrgb(31, 116, 128)
HSLhsl(187, 61%, 31%)
HSVhsv(187, 76%, 50%)
CMYKcmyk(75.8%, 9.4%, 0%, 49.8%)
CIE-LABlab(44.72, -20.24, -13.77)
CIE-LCHlch(44.72, 24.48, 214.23°)
OKLaboklab(51.55% -0.0694 -0.0383)
OKLCHoklch(51.55% 0.079 208.9)
XYZxyz(10.7051, 14.3393, 22.6215)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7480 #802B1F
analogous
#1F805B #1F7480 #1F4380
triadic
#1F7480 #801F74 #74801F
tetradic
#1F7480 #5B1F80 #802B1F #43801F
square
#1F7480 #5B1F80 #802B1F #43801F
split-complementary
#1F7480 #801F43 #805B1F
monochromatic
#071B1D #13474F #1F7480 #2BA1B1 #47C1D2

Accessibility & contrast

On white

5.43
#1F7480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1F7480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7480
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7480#FFFFFF#000000##FFFFFF
##1F74801.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696F81
Deuteranopia (green-blind)
#5C6680
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7480;
/* rgb */ color: rgb(31, 116, 128);
/* oklch */ color: oklch(51.6% 0.079 208.9);
Tailwind
colors: {
  custom: {
    50: '#6b9ca4',
    500: '#1f7480',
    950: '#000000',
  },
}
SCSS
$custom: #1f7480;
$custom-light: #6b9ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7480",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 128
  },
  "hsl": {
    "h": 187.423,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.07931,
    "h": 208.9
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#1F7480
secondary
#B35548
accent
#5844E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7480

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

Preview Lab → · Contrast checker → · Palette generator →

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