#1F7155#1F7155

#1F7155 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.2% C 0.090 H 165.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7155
RGBrgb(31, 113, 85)
HSLhsl(160, 57%, 28%)
HSVhsv(160, 73%, 44%)
CMYKcmyk(72.6%, 0%, 24.8%, 55.7%)
CIE-LABlab(42.39, -31.59, 8.59)
CIE-LCHlch(42.39, 32.73, 164.78°)
OKLaboklab(49.23% -0.0873 0.022)
OKLCHoklch(49.23% 0.09 165.9)
XYZxyz(8.1090, 12.7565, 10.6275)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7155 #711F3B
analogous
#1F712C #1F7155 #1F6471
triadic
#1F7155 #551F71 #71551F
tetradic
#1F7155 #2C1F71 #711F3B #64711F
square
#1F7155 #2C1F71 #711F3B #64711F
split-complementary
#1F7155 #711F64 #712C1F
monochromatic
#071812 #124131 #1F7155 #2CA179 #40CB9B

Accessibility & contrast

On white

5.91
#1F7155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F7155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7155
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7155#FFFFFF#000000##FFFFFF
##1F71551.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6953
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#007169
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7155;
/* rgb */ color: rgb(31, 113, 85);
/* oklch */ color: oklch(49.2% 0.090 165.9);
Tailwind
colors: {
  custom: {
    50: '#679a85',
    500: '#1f7155',
    950: '#000000',
  },
}
SCSS
$custom: #1f7155;
$custom-light: #679a85;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7155",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 85
  },
  "hsl": {
    "h": 159.512,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.08999,
    "h": 165.9
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#1F7155
secondary
#A54767
accent
#487CE0
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #1F7155

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

Preview Lab → · Contrast checker → · Palette generator →

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