#0B301F#0B301F

#0B301F is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.7% C 0.053 H 159.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0B301F
RGBrgb(11, 48, 31)
HSLhsl(152, 63%, 12%)
HSVhsv(152, 77%, 19%)
CMYKcmyk(77.1%, 0%, 35.4%, 81.2%)
CIE-LABlab(16.91, -18.08, 7.14)
CIE-LCHlch(16.91, 19.44, 158.44°)
OKLaboklab(27.74% -0.0494 0.0181)
OKLCHoklch(27.74% 0.053 159.8)
XYZxyz(1.4421, 2.2838, 1.6609)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B301F #300B1C
analogous
#0B300D #0B301F #0B2F30
triadic
#0B301F #1F0B30 #301F0B
tetradic
#0B301F #0D0B30 #300B1C #2F300B
square
#0B301F #0D0B30 #300B1C #2F300B
split-complementary
#0B301F #300B2F #300D0B
monochromatic
#061910 #061910 #0B301F #16623F #22945F

Accessibility & contrast

On white

14.42
#0B301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0B301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B301F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B301F#FFFFFF#000000##FFFFFF
##0B301F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C1E
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b301f;
/* rgb */ color: rgb(11, 48, 31);
/* oklch */ color: oklch(27.7% 0.053 159.8);
Tailwind
colors: {
  custom: {
    50: '#4f685a',
    500: '#0b301f',
    950: '#000000',
  },
}
SCSS
$custom: #0b301f;
$custom-light: #4f685a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b301f",
  "rgb": {
    "r": 11,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 152.432,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27742,
    "c": 0.0526,
    "h": 159.8
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#0B301F
secondary
#6D2A49
accent
#428DE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B301F

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

Preview Lab → · Contrast checker → · Palette generator →

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