#1F7281#1F7281

#1F7281 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.1% C 0.079 H 212.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F7281
RGBrgb(31, 114, 129)
HSLhsl(189, 61%, 31%)
HSVhsv(189, 76%, 51%)
CMYKcmyk(76%, 11.6%, 0%, 49.4%)
CIE-LABlab(44.10, -18.82, -15.30)
CIE-LCHlch(44.10, 24.26, 219.11°)
OKLaboklab(51.07% -0.0669 -0.0426)
OKLCHoklch(51.07% 0.079 212.5)
XYZxyz(10.5431, 13.9097, 22.8938)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7281 #812E1F
analogous
#1F815F #1F7281 #1F4181
triadic
#1F7281 #811F72 #72811F
tetradic
#1F7281 #5F1F81 #812E1F #41811F
square
#1F7281 #5F1F81 #812E1F #41811F
split-complementary
#1F7281 #811F41 #815F1F
monochromatic
#071B1E #134650 #1F7281 #2B9EB2 #47BED3

Accessibility & contrast

On white

5.55
#1F7281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F7281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7281
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7281#FFFFFF#000000##FFFFFF
##1F72811.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666E82
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#007877
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7281;
/* rgb */ color: rgb(31, 114, 129);
/* oklch */ color: oklch(51.1% 0.079 212.5);
Tailwind
colors: {
  custom: {
    50: '#6b9aa5',
    500: '#1f7281',
    950: '#000000',
  },
}
SCSS
$custom: #1f7281;
$custom-light: #6b9aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7281",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 129
  },
  "hsl": {
    "h": 189.184,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.0793,
    "h": 212.5
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#1F7281
secondary
#B45848
accent
#5C43E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7281

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

Preview Lab → · Contrast checker → · Palette generator →

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