#0B312D#0B312D

#0B312D is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.5% C 0.043 H 185.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0B312D
RGBrgb(11, 49, 45)
HSLhsl(174, 63%, 12%)
HSVhsv(174, 78%, 19%)
CMYKcmyk(77.6%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.72, -14.35, -1.35)
CIE-LCHlch(17.72, 14.41, 185.38°)
OKLaboklab(28.55% -0.0425 -0.0039)
OKLCHoklch(28.55% 0.043 185.2)
XYZxyz(1.7098, 2.4570, 2.8663)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B312D #310B0F
analogous
#0B311A #0B312D #0B2231
triadic
#0B312D #2D0B31 #312D0B
tetradic
#0B312D #1A0B31 #310B0F #22310B
square
#0B312D #1A0B31 #310B0F #22310B
split-complementary
#0B312D #310B22 #311A0B
monochromatic
#061917 #061917 #0B312D #16635B #219589

Accessibility & contrast

On white

14.08
#0B312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0B312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B312D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B312D#FFFFFF#000000##FFFFFF
##0B312D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#282A2D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0b312d;
/* rgb */ color: rgb(11, 49, 45);
/* oklch */ color: oklch(28.5% 0.043 185.2);
Tailwind
colors: {
  custom: {
    50: '#506965',
    500: '#0b312d',
    950: '#000000',
  },
}
SCSS
$custom: #0b312d;
$custom-light: #506965;
$custom-dark: #000000;
JSON
{
  "hex": "#0b312d",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 173.684,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28545,
    "c": 0.04264,
    "h": 185.2
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#0B312D
secondary
#6E2A31
accent
#4153E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0B312D

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

Preview Lab → · Contrast checker → · Palette generator →

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