#031B0F#031B0F

#031B0F is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.8% C 0.040 H 159.3°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#031B0F
RGBrgb(3, 27, 15)
HSLhsl(150, 80%, 6%)
HSVhsv(150, 89%, 11%)
CMYKcmyk(88.9%, 0%, 44.4%, 89.4%)
CIE-LABlab(7.57, -11.49, 4.66)
CIE-LCHlch(7.57, 12.40, 157.93°)
OKLaboklab(19.83% -0.0372 0.0141)
OKLCHoklch(19.83% 0.04 159.3)
XYZxyz(0.5157, 0.8377, 0.5864)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B0F #1B030F
analogous
#031B03 #031B0F #031B1B
triadic
#031B0F #0F031B #1B0F03
tetradic
#031B0F #03031B #1B030F #1B1B03
square
#031B0F #03031B #1B030F #1B1B03
split-complementary
#031B0F #1B031B #1B0303
monochromatic
#031C0F #031C0F #031C0F #09522E #0F894C

Accessibility & contrast

On white

17.99
#031B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B0F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B0F#FFFFFF#000000##FFFFFF
##031B0F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B180E
Deuteranopia (green-blind)
#171610
Tritanopia (blue-blind)
#001B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031b0f;
/* rgb */ color: rgb(3, 27, 15);
/* oklch */ color: oklch(19.8% 0.040 159.3);
Tailwind
colors: {
  custom: {
    50: '#47574e',
    500: '#031b0f',
    950: '#000000',
  },
}
SCSS
$custom: #031b0f;
$custom-light: #47574e;
$custom-dark: #000000;
JSON
{
  "hex": "#031b0f",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 150,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19834,
    "c": 0.03983,
    "h": 159.3
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#031B0F
secondary
#5F1B3D
accent
#3194F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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