#0D402E#0D402E

#0D402E is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.3% C 0.062 H 165.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#0D402E
RGBrgb(13, 64, 46)
HSLhsl(159, 66%, 15%)
HSVhsv(159, 80%, 25%)
CMYKcmyk(79.7%, 0%, 28.1%, 74.9%)
CIE-LABlab(23.50, -21.73, 6.29)
CIE-LCHlch(23.50, 22.62, 163.85°)
OKLaboklab(33.29% -0.0599 0.0161)
OKLCHoklch(33.29% 0.062 165)
XYZxyz(2.4922, 3.9493, 3.2152)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D402E #400D1F
analogous
#0D4015 #0D402E #0D3840
triadic
#0D402E #2E0D40 #402E0D
tetradic
#0D402E #150D40 #400D1F #38400D
square
#0D402E #150D40 #400D1F #38400D
split-complementary
#0D402E #400D38 #40150D
monochromatic
#051912 #051912 #0D402E #177353 #22A677

Accessibility & contrast

On white

11.73
#0D402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0D402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D402E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D402E#FFFFFF#000000##FFFFFF
##0D402E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d402e;
/* rgb */ color: rgb(13, 64, 46);
/* oklch */ color: oklch(33.3% 0.062 165.0);
Tailwind
colors: {
  custom: {
    50: '#547566',
    500: '#0d402e',
    950: '#000000',
  },
}
SCSS
$custom: #0d402e;
$custom-light: #547566;
$custom-dark: #000000;
JSON
{
  "hex": "#0d402e",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 158.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33291,
    "c": 0.062,
    "h": 165
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#0D402E
secondary
#7C2D49
accent
#3F7BE9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0D402E

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

Preview Lab → · Contrast checker → · Palette generator →

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