#1F7481#1F7481

#1F7481 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.6% C 0.080 H 210.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F7481
RGBrgb(31, 116, 129)
HSLhsl(188, 61%, 31%)
HSVhsv(188, 76%, 51%)
CMYKcmyk(76%, 10.1%, 0%, 49.4%)
CIE-LABlab(44.75, -19.91, -14.31)
CIE-LCHlch(44.75, 24.52, 215.72°)
OKLaboklab(51.6% -0.069 -0.0398)
OKLCHoklch(51.6% 0.08 210)
XYZxyz(10.7712, 14.3658, 22.9698)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7481 #812C1F
analogous
#1F815D #1F7481 #1F4381
triadic
#1F7481 #811F74 #74811F
tetradic
#1F7481 #5D1F81 #812C1F #43811F
square
#1F7481 #5D1F81 #812C1F #43811F
split-complementary
#1F7481 #811F43 #815D1F
monochromatic
#071B1E #134850 #1F7481 #2BA0B2 #47C0D3

Accessibility & contrast

On white

5.42
#1F7481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7481
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7481#FFFFFF#000000##FFFFFF
##1F74811.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697082
Deuteranopia (green-blind)
#5B6681
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7481;
/* rgb */ color: rgb(31, 116, 129);
/* oklch */ color: oklch(51.6% 0.080 210.0);
Tailwind
colors: {
  custom: {
    50: '#6b9ca5',
    500: '#1f7481',
    950: '#000000',
  },
}
SCSS
$custom: #1f7481;
$custom-light: #6b9ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7481",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 129
  },
  "hsl": {
    "h": 187.959,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.07967,
    "h": 210
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#1F7481
secondary
#B45648
accent
#5943E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7481

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

Preview Lab → · Contrast checker → · Palette generator →

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