#0B4840#0B4840

#0B4840 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.3% C 0.060 H 181.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#0B4840
RGBrgb(11, 72, 64)
HSLhsl(172, 73%, 16%)
HSVhsv(172, 85%, 28%)
CMYKcmyk(84.7%, 0%, 11.1%, 71.8%)
CIE-LABlab(26.95, -20.70, -0.55)
CIE-LCHlch(26.95, 20.70, 181.53°)
OKLaboklab(36.27% -0.0602 -0.0018)
OKLCHoklch(36.27% 0.06 181.7)
XYZxyz(3.3803, 5.0756, 5.6510)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4840 #480B13
analogous
#0B4822 #0B4840 #0B3248
triadic
#0B4840 #400B48 #48400B
tetradic
#0B4840 #220B48 #480B13 #32480B
square
#0B4840 #220B48 #480B13 #32480B
split-complementary
#0B4840 #480B32 #48220B
monochromatic
#041B18 #041B18 #0B4840 #137D6F #1BB29E

Accessibility & contrast

On white

10.42
#0B4840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0B4840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4840
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4840#FFFFFF#000000##FFFFFF
##0B48401.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#3C3D41
Tritanopia (blue-blind)
#004A46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0b4840;
/* rgb */ color: rgb(11, 72, 64);
/* oklch */ color: oklch(36.3% 0.060 181.7);
Tailwind
colors: {
  custom: {
    50: '#577b74',
    500: '#0b4840',
    950: '#000000',
  },
}
SCSS
$custom: #0b4840;
$custom-light: #577b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4840",
  "rgb": {
    "r": 11,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 172.131,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.06026,
    "h": 181.7
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#0B4840
secondary
#842A36
accent
#3850F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#030908
muted
#787B7B

Preview Lab

Preview with #0B4840

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

Preview Lab → · Contrast checker → · Palette generator →

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