#1F3333#1F3333

#1F3333 is a dark, muted teal. Relative luminance 0.029; OKLCH L 30.4% C 0.026 H 195.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1F3333
RGBrgb(31, 51, 51)
HSLhsl(180, 24%, 16%)
HSVhsv(180, 39%, 20%)
CMYKcmyk(39.2%, 0%, 0%, 80%)
CIE-LABlab(19.63, -7.99, -2.56)
CIE-LCHlch(19.63, 8.39, 197.78°)
OKLaboklab(30.42% -0.0247 -0.007)
OKLCHoklch(30.42% 0.026 195.9)
XYZxyz(2.3462, 2.8978, 3.5670)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3333 #331F1F
analogous
#1F3329 #1F3333 #1F2933
triadic
#1F3333 #331F33 #33331F
tetradic
#1F3333 #291F33 #331F1F #29331F
square
#1F3333 #291F33 #331F1F #29331F
split-complementary
#1F3333 #331F29 #33291F
monochromatic
#0C1313 #0C1313 #1F3333 #365959 #4D7F7F

Accessibility & contrast

On white

13.29
#1F3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1F3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3333
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3333#FFFFFF#000000##FFFFFF
##1F33331.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313133
Deuteranopia (green-blind)
#2D2E33
Tritanopia (blue-blind)
#173433
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f3333;
/* rgb */ color: rgb(31, 51, 51);
/* oklch */ color: oklch(30.4% 0.026 195.9);
Tailwind
colors: {
  custom: {
    50: '#5c6a6a',
    500: '#1f3333',
    950: '#000000',
  },
}
SCSS
$custom: #1f3333;
$custom-light: #5c6a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3333",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 180,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.02573,
    "h": 195.9
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#1F3333
secondary
#664848
accent
#6767C1
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040606
muted
#797A7A

Preview Lab

Preview with #1F3333

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

Preview Lab → · Contrast checker → · Palette generator →

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