#0D402A#0D402A

#0D402A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.066 H 160.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#0D402A
RGBrgb(13, 64, 42)
HSLhsl(154, 66%, 15%)
HSVhsv(154, 80%, 25%)
CMYKcmyk(79.7%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.40, -22.81, 8.77)
CIE-LCHlch(23.40, 24.43, 158.97°)
OKLaboklab(33.18% -0.0622 0.0223)
OKLCHoklch(33.18% 0.066 160.3)
XYZxyz(2.4170, 3.9193, 2.8191)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D402A #400D23
analogous
#0D4011 #0D402A #0D3C40
triadic
#0D402A #2A0D40 #402A0D
tetradic
#0D402A #110D40 #400D23 #3C400D
square
#0D402A #110D40 #400D23 #3C400D
split-complementary
#0D402A #400D3C #40110D
monochromatic
#051911 #051911 #0D402A #17734B #22A66D

Accessibility & contrast

On white

11.77
#0D402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0D402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D402A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D402A#FFFFFF#000000##FFFFFF
##0D402A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B29
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d402a;
/* rgb */ color: rgb(13, 64, 42);
/* oklch */ color: oklch(33.2% 0.066 160.3);
Tailwind
colors: {
  custom: {
    50: '#547563',
    500: '#0d402a',
    950: '#000000',
  },
}
SCSS
$custom: #0d402a;
$custom-light: #547563;
$custom-dark: #000000;
JSON
{
  "hex": "#0d402a",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 154.118,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.06603,
    "h": 160.3
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#0D402A
secondary
#7C2D4F
accent
#3F88E9
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0D402A

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

Preview Lab → · Contrast checker → · Palette generator →

#0D402A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva