#1F7380#1F7380

#1F7380 is a mid, moderate teal. Relative luminance 0.141; OKLCH L 51.3% C 0.079 H 210.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1F7380
RGBrgb(31, 115, 128)
HSLhsl(188, 61%, 31%)
HSVhsv(188, 76%, 50%)
CMYKcmyk(75.8%, 10.2%, 0%, 49.8%)
CIE-LABlab(44.39, -19.70, -14.27)
CIE-LCHlch(44.39, 24.33, 215.91°)
OKLaboklab(51.29% -0.0684 -0.0397)
OKLCHoklch(51.29% 0.079 210.1)
XYZxyz(10.5904, 14.1100, 22.5832)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7380 #802C1F
analogous
#1F805C #1F7380 #1F4280
triadic
#1F7380 #801F73 #73801F
tetradic
#1F7380 #5C1F80 #802C1F #42801F
square
#1F7380 #5C1F80 #802C1F #42801F
split-complementary
#1F7380 #801F42 #805C1F
monochromatic
#071A1D #13474F #1F7380 #2B9FB1 #47C0D2

Accessibility & contrast

On white

5.49
#1F7380 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1F7380 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7380
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7380#FFFFFF#000000##FFFFFF
##1F73801.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686F81
Deuteranopia (green-blind)
#5A6580
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7380;
/* rgb */ color: rgb(31, 115, 128);
/* oklch */ color: oklch(51.3% 0.079 210.1);
Tailwind
colors: {
  custom: {
    50: '#6b9ba4',
    500: '#1f7380',
    950: '#000000',
  },
}
SCSS
$custom: #1f7380;
$custom-light: #6b9ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7380",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 128
  },
  "hsl": {
    "h": 188.041,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.07907,
    "h": 210.1
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#1F7380
secondary
#B35648
accent
#5944E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7380

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

Preview Lab → · Contrast checker → · Palette generator →

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