#0B4940#0B4940

#0B4940 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.6% C 0.061 H 180.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#0B4940
RGBrgb(11, 73, 64)
HSLhsl(171, 74%, 16%)
HSVhsv(171, 85%, 29%)
CMYKcmyk(84.9%, 0%, 12.3%, 71.4%)
CIE-LABlab(27.31, -21.22, -0.02)
CIE-LCHlch(27.31, 21.22, 180.05°)
OKLaboklab(36.57% -0.0614 -0.0004)
OKLCHoklch(36.57% 0.061 180.4)
XYZxyz(3.4455, 5.2060, 5.6728)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4940 #490B14
analogous
#0B4921 #0B4940 #0B3349
triadic
#0B4940 #400B49 #49400B
tetradic
#0B4940 #210B49 #490B14 #33490B
square
#0B4940 #210B49 #490B14 #33490B
split-complementary
#0B4940 #490B33 #49210B
monochromatic
#041B17 #041B17 #0B4940 #137E6F #1BB39D

Accessibility & contrast

On white

10.29
#0B4940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0B4940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4940
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4940#FFFFFF#000000##FFFFFF
##0B49401.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#3D3E41
Tritanopia (blue-blind)
#004A46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0b4940;
/* rgb */ color: rgb(11, 73, 64);
/* oklch */ color: oklch(36.6% 0.061 180.4);
Tailwind
colors: {
  custom: {
    50: '#577c74',
    500: '#0b4940',
    950: '#000000',
  },
}
SCSS
$custom: #0b4940;
$custom-light: #577c74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4940",
  "rgb": {
    "r": 11,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 171.29,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.0614,
    "h": 180.4
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#0B4940
secondary
#852A38
accent
#3752F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #0B4940

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

Preview Lab → · Contrast checker → · Palette generator →

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