#0A402F#0A402F

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

Color values

HEX#0A402F
RGBrgb(10, 64, 47)
HSLhsl(161, 73%, 15%)
HSVhsv(161, 84%, 25%)
CMYKcmyk(84.4%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.46, -21.96, 5.56)
CIE-LCHlch(23.46, 22.65, 165.78°)
OKLaboklab(33.24% -0.0607 0.0142)
OKLCHoklch(33.24% 0.062 166.8)
XYZxyz(2.4714, 3.9363, 3.3183)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A402F #400A1B
analogous
#0A4014 #0A402F #0A3640
triadic
#0A402F #2F0A40 #402F0A
tetradic
#0A402F #140A40 #400A1B #36400A
square
#0A402F #140A40 #400A1B #36400A
split-complementary
#0A402F #400A36 #40140A
monochromatic
#041A13 #041A13 #0A402F #127556 #1BAA7D

Accessibility & contrast

On white

11.75
#0A402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A402F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A402F#FFFFFF#000000##FFFFFF
##0A402F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a402f;
/* rgb */ color: rgb(10, 64, 47);
/* oklch */ color: oklch(33.2% 0.062 166.8);
Tailwind
colors: {
  custom: {
    50: '#537567',
    500: '#0a402f',
    950: '#000000',
  },
}
SCSS
$custom: #0a402f;
$custom-light: #537567;
$custom-dark: #000000;
JSON
{
  "hex": "#0a402f",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 161.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33244,
    "c": 0.06235,
    "h": 166.8
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#0A402F
secondary
#7D2943
accent
#3872F0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0A402F

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

Preview Lab → · Contrast checker → · Palette generator →

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