#02312F#02312F

#02312F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.047 H 190.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#02312F
RGBrgb(2, 49, 47)
HSLhsl(177, 92%, 10%)
HSVhsv(177, 96%, 19%)
CMYKcmyk(95.9%, 0%, 4.1%, 80.8%)
CIE-LABlab(17.53, -15.41, -3.06)
CIE-LCHlch(17.53, 15.71, 191.22°)
OKLaboklab(28.33% -0.0467 -0.0086)
OKLCHoklch(28.33% 0.047 190.4)
XYZxyz(1.6362, 2.4146, 3.0686)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02312F #310204
analogous
#023118 #02312F #021B31
triadic
#02312F #2F0231 #312F02
tetradic
#02312F #180231 #310204 #1B3102
square
#02312F #180231 #310204 #1B3102
split-complementary
#02312F #31021B #311802
monochromatic
#011D1C #011D1C #02312F #046C67 #07A7A0

Accessibility & contrast

On white

14.16
#02312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02312F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02312F#FFFFFF#000000##FFFFFF
##02312F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#003330
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02312f;
/* rgb */ color: rgb(2, 49, 47);
/* oklch */ color: oklch(28.3% 0.047 190.4);
Tailwind
colors: {
  custom: {
    50: '#4d6967',
    500: '#02312f',
    950: '#000000',
  },
}
SCSS
$custom: #02312f;
$custom-light: #4d6967;
$custom-dark: #000000;
JSON
{
  "hex": "#02312f",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 177.447,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28333,
    "c": 0.04748,
    "h": 190.4
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#02312F
secondary
#75191D
accent
#2932FF
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #02312F

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

Preview Lab → · Contrast checker → · Palette generator →

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