#0A402A#0A402A

#0A402A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.067 H 160.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#0A402A
RGBrgb(10, 64, 42)
HSLhsl(156, 73%, 15%)
HSVhsv(156, 84%, 25%)
CMYKcmyk(84.4%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.33, -23.33, 8.66)
CIE-LCHlch(23.33, 24.89, 159.64°)
OKLaboklab(33.1% -0.0636 0.022)
OKLCHoklch(33.1% 0.067 160.9)
XYZxyz(2.3762, 3.8982, 2.8172)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A402A #400A20
analogous
#0A400F #0A402A #0A3B40
triadic
#0A402A #2A0A40 #402A0A
tetradic
#0A402A #0F0A40 #400A20 #3B400A
square
#0A402A #0F0A40 #400A20 #3B400A
split-complementary
#0A402A #400A3B #400F0A
monochromatic
#041A11 #041A11 #0A402A #12754D #1BAA6F

Accessibility & contrast

On white

11.80
#0A402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A402A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A402A#FFFFFF#000000##FFFFFF
##0A402A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a402a;
/* rgb */ color: rgb(10, 64, 42);
/* oklch */ color: oklch(33.1% 0.067 160.9);
Tailwind
colors: {
  custom: {
    50: '#537563',
    500: '#0a402a',
    950: '#000000',
  },
}
SCSS
$custom: #0a402a;
$custom-light: #537563;
$custom-dark: #000000;
JSON
{
  "hex": "#0a402a",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 155.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33097,
    "c": 0.06728,
    "h": 160.9
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#0A402A
secondary
#7D294B
accent
#3883F0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0A402A

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

Preview Lab → · Contrast checker → · Palette generator →

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