#02231E#02231E

#02231E is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.1% C 0.039 H 180.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#02231E
RGBrgb(2, 35, 30)
HSLhsl(171, 89%, 7%)
HSVhsv(171, 94%, 14%)
CMYKcmyk(94.3%, 0%, 14.3%, 86.3%)
CIE-LABlab(11.34, -13.62, -0.12)
CIE-LCHlch(11.34, 13.62, 180.48°)
OKLaboklab(23.07% -0.0395 -0.0005)
OKLCHoklch(23.07% 0.039 180.8)
XYZxyz(0.8603, 1.3086, 1.4353)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02231E #230207
analogous
#02230E #02231E #021823
triadic
#02231E #1E0223 #231E02
tetradic
#02231E #0E0223 #230207 #182302
square
#02231E #0E0223 #230207 #182302
split-complementary
#02231E #230218 #230E02
monochromatic
#021D19 #021D19 #02231E #055D50 #099781

Accessibility & contrast

On white

16.64
#02231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#02231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02231E
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02231E#FFFFFF#000000##FFFFFF
##02231E1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#1C1D1E
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #02231e;
/* rgb */ color: rgb(2, 35, 30);
/* oklch */ color: oklch(23.1% 0.039 180.8);
Tailwind
colors: {
  custom: {
    50: '#475e59',
    500: '#02231e',
    950: '#000000',
  },
}
SCSS
$custom: #02231e;
$custom-light: #475e59;
$custom-dark: #000000;
JSON
{
  "hex": "#02231e",
  "rgb": {
    "r": 2,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 170.909,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.23071,
    "c": 0.03946,
    "h": 180.8
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#02231E
secondary
#691824
accent
#2949FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #02231E

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

Preview Lab → · Contrast checker → · Palette generator →

#02231E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva