#0A331F#0A331F

#0A331F is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.7% C 0.058 H 157.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#0A331F
RGBrgb(10, 51, 31)
HSLhsl(151, 67%, 12%)
HSVhsv(151, 80%, 20%)
CMYKcmyk(80.4%, 0%, 39.2%, 80%)
CIE-LABlab(18.06, -19.84, 8.71)
CIE-LCHlch(18.06, 21.66, 156.30°)
OKLaboklab(28.67% -0.0539 0.022)
OKLCHoklch(28.67% 0.058 157.8)
XYZxyz(1.5562, 2.5309, 1.7026)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A331F #330A1E
analogous
#0A330B #0A331F #0A3333
triadic
#0A331F #1F0A33 #331F0A
tetradic
#0A331F #0B0A33 #330A1E #33330A
square
#0A331F #0B0A33 #330A1E #33330A
split-complementary
#0A331F #330A33 #330B0A
monochromatic
#051A10 #051A10 #0A331F #14663E #1E995D

Accessibility & contrast

On white

13.94
#0A331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0A331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A331F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A331F#FFFFFF#000000##FFFFFF
##0A331F1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E1E
Deuteranopia (green-blind)
#2D2B20
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0a331f;
/* rgb */ color: rgb(10, 51, 31);
/* oklch */ color: oklch(28.7% 0.058 157.8);
Tailwind
colors: {
  custom: {
    50: '#4f6b5a',
    500: '#0a331f',
    950: '#000000',
  },
}
SCSS
$custom: #0a331f;
$custom-light: #4f6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a331f",
  "rgb": {
    "r": 10,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 150.732,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28674,
    "c": 0.0582,
    "h": 157.8
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#0A331F
secondary
#70284C
accent
#3E92EA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0A331F

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

Preview Lab → · Contrast checker → · Palette generator →

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