#1F7154#1F7154

#1F7154 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.2% C 0.091 H 165.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F7154
RGBrgb(31, 113, 84)
HSLhsl(159, 57%, 28%)
HSVhsv(159, 73%, 44%)
CMYKcmyk(72.6%, 0%, 25.7%, 55.7%)
CIE-LABlab(42.37, -31.84, 9.16)
CIE-LCHlch(42.37, 33.13, 163.95°)
OKLaboklab(49.2% -0.0878 0.0234)
OKLCHoklch(49.2% 0.091 165.1)
XYZxyz(8.0696, 12.7407, 10.4197)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7154 #711F3C
analogous
#1F712B #1F7154 #1F6571
triadic
#1F7154 #541F71 #71541F
tetradic
#1F7154 #2B1F71 #711F3C #65711F
square
#1F7154 #2B1F71 #711F3C #65711F
split-complementary
#1F7154 #711F65 #712B1F
monochromatic
#071812 #124130 #1F7154 #2CA178 #40CB99

Accessibility & contrast

On white

5.92
#1F7154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7154
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7154#FFFFFF#000000##FFFFFF
##1F71541.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7154;
/* rgb */ color: rgb(31, 113, 84);
/* oklch */ color: oklch(49.2% 0.091 165.1);
Tailwind
colors: {
  custom: {
    50: '#679a84',
    500: '#1f7154',
    950: '#000000',
  },
}
SCSS
$custom: #1f7154;
$custom-light: #679a84;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7154",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 158.78,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.492,
    "c": 0.09086,
    "h": 165.1
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#1F7154
secondary
#A54768
accent
#487EE0
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7154

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

Preview Lab → · Contrast checker → · Palette generator →

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