#02312C#02312C

#02312C is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.2% C 0.049 H 183.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#02312C
RGBrgb(2, 49, 44)
HSLhsl(174, 92%, 10%)
HSVhsv(174, 96%, 19%)
CMYKcmyk(95.9%, 0%, 10.2%, 80.8%)
CIE-LABlab(17.42, -16.50, -1.14)
CIE-LCHlch(17.42, 16.54, 183.94°)
OKLaboklab(28.21% -0.0484 -0.0033)
OKLCHoklch(28.21% 0.049 183.9)
XYZxyz(1.5777, 2.3912, 2.7608)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02312C #310207
analogous
#023114 #02312C #021F31
triadic
#02312C #2C0231 #312C02
tetradic
#02312C #140231 #310207 #1F3102
square
#02312C #140231 #310207 #1F3102
split-complementary
#02312C #31021F #311402
monochromatic
#011D1A #011D1A #02312C #046C61 #07A796

Accessibility & contrast

On white

14.21
#02312C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02312C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02312C#FFFFFF#000000##FFFFFF
##02312C1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02312c;
/* rgb */ color: rgb(2, 49, 44);
/* oklch */ color: oklch(28.2% 0.049 183.9);
Tailwind
colors: {
  custom: {
    50: '#4d6965',
    500: '#02312c',
    950: '#000000',
  },
}
SCSS
$custom: #02312c;
$custom-light: #4d6965;
$custom-dark: #000000;
JSON
{
  "hex": "#02312c",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 173.617,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28208,
    "c": 0.04855,
    "h": 183.9
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#02312C
secondary
#751923
accent
#2940FF
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #02312C

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

Preview Lab → · Contrast checker → · Palette generator →

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