#02402A#02402A

#02402A is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.9% C 0.070 H 162.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#02402A
RGBrgb(2, 64, 42)
HSLhsl(159, 94%, 13%)
HSVhsv(159, 97%, 25%)
CMYKcmyk(96.9%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.16, -24.66, 8.39)
CIE-LCHlch(23.16, 26.05, 161.21°)
OKLaboklab(32.9% -0.0671 0.0213)
OKLCHoklch(32.9% 0.07 162.4)
XYZxyz(2.2761, 3.8466, 2.8125)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02402A #400218
analogous
#02400B #02402A #023740
triadic
#02402A #2A0240 #402A02
tetradic
#02402A #0B0240 #400218 #374002
square
#02402A #0B0240 #400218 #374002
split-complementary
#02402A #400237 #400B02
monochromatic
#011E13 #011E13 #02402A #047B51 #06B778

Accessibility & contrast

On white

11.87
#02402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#02402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02402A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02402A#FFFFFF#000000##FFFFFF
##02402A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #02402a;
/* rgb */ color: rgb(2, 64, 42);
/* oklch */ color: oklch(32.9% 0.070 162.4);
Tailwind
colors: {
  custom: {
    50: '#517563',
    500: '#02402a',
    950: '#000000',
  },
}
SCSS
$custom: #02402a;
$custom-light: #517563;
$custom-dark: #000000;
JSON
{
  "hex": "#02402a",
  "rgb": {
    "r": 2,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 158.71,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.07045,
    "h": 162.4
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#02402A
secondary
#831B40
accent
#2975FF
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#020805
muted
#787B79

Preview Lab

Preview with #02402A

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

Preview Lab → · Contrast checker → · Palette generator →

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