#0A311E#0A311E

#0A311E is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.0% C 0.056 H 158.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#0A311E
RGBrgb(10, 49, 30)
HSLhsl(151, 66%, 12%)
HSVhsv(151, 80%, 19%)
CMYKcmyk(79.6%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.25, -19.09, 8.28)
CIE-LCHlch(17.25, 20.80, 156.55°)
OKLaboklab(28% -0.0519 0.0209)
OKLCHoklch(28% 0.056 158)
XYZxyz(1.4577, 2.3547, 1.6057)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A311E #310A1D
analogous
#0A310B #0A311E #0A3131
triadic
#0A311E #1E0A31 #311E0A
tetradic
#0A311E #0B0A31 #310A1D #31310A
square
#0A311E #0B0A31 #310A1D #31310A
split-complementary
#0A311E #310A31 #310B0A
monochromatic
#051910 #051910 #0A311E #14643D #1F975C

Accessibility & contrast

On white

14.28
#0A311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0A311E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A311E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A311E#FFFFFF#000000##FFFFFF
##0A311E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1D
Deuteranopia (green-blind)
#2B291F
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0a311e;
/* rgb */ color: rgb(10, 49, 30);
/* oklch */ color: oklch(28.0% 0.056 158.0);
Tailwind
colors: {
  custom: {
    50: '#4f6959',
    500: '#0a311e',
    950: '#000000',
  },
}
SCSS
$custom: #0a311e;
$custom-light: #4f6959;
$custom-dark: #000000;
JSON
{
  "hex": "#0a311e",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 150.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28001,
    "c": 0.05596,
    "h": 158
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#0A311E
secondary
#6E294B
accent
#3F92E9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0A311E

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

Preview Lab → · Contrast checker → · Palette generator →

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