#0A402C#0A402C

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

Color values

HEX#0A402C
RGBrgb(10, 64, 44)
HSLhsl(158, 73%, 15%)
HSVhsv(158, 84%, 25%)
CMYKcmyk(84.4%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.38, -22.80, 7.42)
CIE-LCHlch(23.38, 23.97, 161.97°)
OKLaboklab(33.15% -0.0624 0.0189)
OKLCHoklch(33.15% 0.065 163.2)
XYZxyz(2.4129, 3.9129, 3.0105)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A402C #400A1E
analogous
#0A4011 #0A402C #0A3940
triadic
#0A402C #2C0A40 #402C0A
tetradic
#0A402C #110A40 #400A1E #39400A
square
#0A402C #110A40 #400A1E #39400A
split-complementary
#0A402C #400A39 #40110A
monochromatic
#041A12 #041A12 #0A402C #127550 #1BAA75

Accessibility & contrast

On white

11.78
#0A402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A402C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A402C#FFFFFF#000000##FFFFFF
##0A402C1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a402c;
/* rgb */ color: rgb(10, 64, 44);
/* oklch */ color: oklch(33.2% 0.065 163.2);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#0a402c',
    950: '#000000',
  },
}
SCSS
$custom: #0a402c;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#0a402c",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 157.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.06524,
    "h": 163.2
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#0A402C
secondary
#7D2948
accent
#387CF0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0A402C

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

Preview Lab → · Contrast checker → · Palette generator →

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