#031A1C#031A1C

#031A1C is a very dark, muted teal. Relative luminance 0.008; OKLCH L 20.0% C 0.030 H 202.7°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#031A1C
RGBrgb(3, 26, 28)
HSLhsl(185, 81%, 6%)
HSVhsv(185, 89%, 11%)
CMYKcmyk(89.3%, 7.1%, 0%, 89%)
CIE-LABlab(7.60, -7.53, -4.16)
CIE-LCHlch(7.60, 8.60, 208.92°)
OKLaboklab(20.02% -0.0276 -0.0116)
OKLCHoklch(20.02% 0.03 202.7)
XYZxyz(0.6165, 0.8419, 1.2284)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A1C #1C0503
analogous
#031C11 #031A1C #030D1C
triadic
#031A1C #1C031A #1A1C03
tetradic
#031A1C #11031C #1C0503 #0D1C03
square
#031A1C #11031C #1C0503 #0D1C03
split-complementary
#031A1C #1C030D #1C1103
monochromatic
#031A1C #031A1C #031A1C #094D53 #0F818B

Accessibility & contrast

On white

17.97
#031A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A1C
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A1C#FFFFFF#000000##FFFFFF
##031A1C1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181C
Deuteranopia (green-blind)
#13151C
Tritanopia (blue-blind)
#001B1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031a1c;
/* rgb */ color: rgb(3, 26, 28);
/* oklch */ color: oklch(20.0% 0.030 202.7);
Tailwind
colors: {
  custom: {
    50: '#475658',
    500: '#031a1c',
    950: '#000000',
  },
}
SCSS
$custom: #031a1c;
$custom-light: #475658;
$custom-dark: #000000;
JSON
{
  "hex": "#031a1c",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 184.8,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.2002,
    "c": 0.02995,
    "h": 202.7
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#031A1C
secondary
#60201B
accent
#4131F7
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #031A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#031A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva