#0A311F#0A311F

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

Color values

HEX#0A311F
RGBrgb(10, 49, 31)
HSLhsl(152, 66%, 12%)
HSVhsv(152, 80%, 19%)
CMYKcmyk(79.6%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.27, -18.82, 7.63)
CIE-LCHlch(17.27, 20.31, 157.92°)
OKLaboklab(28.03% -0.0513 0.0194)
OKLCHoklch(28.03% 0.055 159.3)
XYZxyz(1.4707, 2.3599, 1.6741)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A311F #310A1C
analogous
#0A310C #0A311F #0A3031
triadic
#0A311F #1F0A31 #311F0A
tetradic
#0A311F #0C0A31 #310A1C #30310A
square
#0A311F #0C0A31 #310A1C #30310A
split-complementary
#0A311F #310A30 #310C0A
monochromatic
#051910 #051910 #0A311F #14643F #1F975F

Accessibility & contrast

On white

14.27
#0A311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A311F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A311F#FFFFFF#000000##FFFFFF
##0A311F1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a311f;
/* rgb */ color: rgb(10, 49, 31);
/* oklch */ color: oklch(28.0% 0.055 159.3);
Tailwind
colors: {
  custom: {
    50: '#4f695a',
    500: '#0a311f',
    950: '#000000',
  },
}
SCSS
$custom: #0a311f;
$custom-light: #4f695a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a311f",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 152.308,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2803,
    "c": 0.05484,
    "h": 159.3
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#0A311F
secondary
#6E2949
accent
#3F8DE9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0A311F

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

Preview Lab → · Contrast checker → · Palette generator →

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