#0A402D#0A402D

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

Color values

HEX#0A402D
RGBrgb(10, 64, 45)
HSLhsl(159, 73%, 15%)
HSVhsv(159, 84%, 25%)
CMYKcmyk(84.4%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.41, -22.52, 6.80)
CIE-LCHlch(23.41, 23.53, 163.19°)
OKLaboklab(33.18% -0.0619 0.0174)
OKLCHoklch(33.18% 0.064 164.3)
XYZxyz(2.4320, 3.9205, 3.1107)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A402D #400A1D
analogous
#0A4012 #0A402D #0A3840
triadic
#0A402D #2D0A40 #402D0A
tetradic
#0A402D #120A40 #400A1D #38400A
square
#0A402D #120A40 #400A1D #38400A
split-complementary
#0A402D #400A38 #40120A
monochromatic
#041A13 #041A13 #0A402D #127552 #1BAA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A402D#FFFFFF#000000##FFFFFF
##0A402D1.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)
#3F3B2C
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a402d;
/* rgb */ color: rgb(10, 64, 45);
/* oklch */ color: oklch(33.2% 0.064 164.3);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#0a402d',
    950: '#000000',
  },
}
SCSS
$custom: #0a402d;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#0a402d",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 158.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.06425,
    "h": 164.3
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#0A402D
secondary
#7D2946
accent
#3879F0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0A402D

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

Preview Lab → · Contrast checker → · Palette generator →

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