#1F6358#1F6358

#1F6358 is a mid, moderate teal. Relative luminance 0.099; OKLCH L 45.4% C 0.070 H 180.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1F6358
RGBrgb(31, 99, 88)
HSLhsl(170, 52%, 25%)
HSVhsv(170, 69%, 39%)
CMYKcmyk(68.7%, 0%, 11.1%, 61.2%)
CIE-LABlab(37.70, -24.01, 0.04)
CIE-LCHlch(37.70, 24.01, 179.91°)
OKLaboklab(45.42% -0.0696 -0.0003)
OKLCHoklch(45.42% 0.07 180.2)
XYZxyz(6.7875, 9.9188, 10.7874)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6358 #631F2A
analogous
#1F6336 #1F6358 #1F4C63
triadic
#1F6358 #581F63 #63581F
tetradic
#1F6358 #361F63 #631F2A #4C631F
square
#1F6358 #361F63 #631F2A #4C631F
split-complementary
#1F6358 #631F4C #63361F
monochromatic
#071715 #10342F #1F6358 #2E9281 #3CC0AB

Accessibility & contrast

On white

7.04
#1F6358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F6358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6358
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6358#FFFFFF#000000##FFFFFF
##1F63581.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5D58
Deuteranopia (green-blind)
#555659
Tritanopia (blue-blind)
#006560
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f6358;
/* rgb */ color: rgb(31, 99, 88);
/* oklch */ color: oklch(45.4% 0.070 180.2);
Tailwind
colors: {
  custom: {
    50: '#649087',
    500: '#1f6358',
    950: '#000000',
  },
}
SCSS
$custom: #1f6358;
$custom-light: #649087;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6358",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 88
  },
  "hsl": {
    "h": 170.294,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.06962,
    "h": 180.2
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#1F6358
secondary
#984653
accent
#4C63DC
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#060C0B
muted
#7A7D7C

Preview Lab

Preview with #1F6358

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

Preview Lab → · Contrast checker → · Palette generator →

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