#02312A#02312A

#02312A is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.1% C 0.050 H 179.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#02312A
RGBrgb(2, 49, 42)
HSLhsl(171, 92%, 10%)
HSVhsv(171, 96%, 19%)
CMYKcmyk(95.9%, 0%, 14.3%, 80.8%)
CIE-LABlab(17.35, -17.20, 0.15)
CIE-LCHlch(17.35, 17.20, 179.50°)
OKLaboklab(28.13% -0.0496 0.0001)
OKLCHoklch(28.13% 0.05 179.9)
XYZxyz(1.5411, 2.3765, 2.5675)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02312A #310209
analogous
#023113 #02312A #022031
triadic
#02312A #2A0231 #312A02
tetradic
#02312A #130231 #310209 #203102
square
#02312A #130231 #310209 #203102
split-complementary
#02312A #310220 #311302
monochromatic
#011D19 #011D19 #02312A #046C5C #07A78F

Accessibility & contrast

On white

14.23
#02312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#02312A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02312A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02312A#FFFFFF#000000##FFFFFF
##02312A1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#28292B
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02312a;
/* rgb */ color: rgb(2, 49, 42);
/* oklch */ color: oklch(28.1% 0.050 179.9);
Tailwind
colors: {
  custom: {
    50: '#4c6963',
    500: '#02312a',
    950: '#000000',
  },
}
SCSS
$custom: #02312a;
$custom-light: #4c6963;
$custom-dark: #000000;
JSON
{
  "hex": "#02312a",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 171.064,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.04961,
    "h": 179.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#02312A
secondary
#751927
accent
#2949FF
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010605
muted
#777A79

Preview Lab

Preview with #02312A

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

Preview Lab → · Contrast checker → · Palette generator →

#02312A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva