#02391F#02391F

#02391F is a dark, moderate teal. Relative luminance 0.030; OKLCH L 30.4% C 0.072 H 156.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#02391F
RGBrgb(2, 57, 31)
HSLhsl(152, 93%, 12%)
HSVhsv(152, 96%, 22%)
CMYKcmyk(96.5%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.20, -24.35, 11.54)
CIE-LCHlch(20.20, 26.95, 154.64°)
OKLaboklab(30.37% -0.0655 0.0288)
OKLCHoklch(30.37% 0.072 156.3)
XYZxyz(1.7353, 3.0379, 1.7910)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02391F #39021C
analogous
#023903 #02391F #023839
triadic
#02391F #1F0239 #391F02
tetradic
#02391F #030239 #39021C #383902
square
#02391F #030239 #39021C #383902
split-complementary
#02391F #390238 #390302
monochromatic
#011E10 #011E10 #02391F #04743F #06AF5F

Accessibility & contrast

On white

13.06
#02391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#02391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02391F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02391F#FFFFFF#000000##FFFFFF
##02391F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331D
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #02391f;
/* rgb */ color: rgb(2, 57, 31);
/* oklch */ color: oklch(30.4% 0.072 156.3);
Tailwind
colors: {
  custom: {
    50: '#4e705a',
    500: '#02391f',
    950: '#000000',
  },
}
SCSS
$custom: #02391f;
$custom-light: #4e705a;
$custom-dark: #000000;
JSON
{
  "hex": "#02391f",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 151.636,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.0716,
    "h": 156.3
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#02391F
secondary
#7D1A49
accent
#298EFF
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #02391F

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

Preview Lab → · Contrast checker → · Palette generator →

#02391F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva