#0B402C#0B402C

#0B402C is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.065 H 163.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#0B402C
RGBrgb(11, 64, 44)
HSLhsl(157, 71%, 15%)
HSVhsv(157, 83%, 25%)
CMYKcmyk(82.8%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.40, -22.63, 7.46)
CIE-LCHlch(23.40, 23.83, 161.76°)
OKLaboklab(33.18% -0.062 0.019)
OKLCHoklch(33.18% 0.065 163)
XYZxyz(2.4258, 3.9195, 3.0111)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B402C #400B1F
analogous
#0B4011 #0B402C #0B3A40
triadic
#0B402C #2C0B40 #402C0B
tetradic
#0B402C #110B40 #400B1F #3A400B
square
#0B402C #110B40 #400B1F #3A400B
split-complementary
#0B402C #400B3A #40110B
monochromatic
#041A12 #041A12 #0B402C #147450 #1DA874

Accessibility & contrast

On white

11.77
#0B402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0B402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B402C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B402C#FFFFFF#000000##FFFFFF
##0B402C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2B
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0b402c;
/* rgb */ color: rgb(11, 64, 44);
/* oklch */ color: oklch(33.2% 0.065 163.0);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#0b402c',
    950: '#000000',
  },
}
SCSS
$custom: #0b402c;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#0b402c",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 157.358,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.06484,
    "h": 163
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#0B402C
secondary
#7D2A49
accent
#3A7EED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0B402C

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

Preview Lab → · Contrast checker → · Palette generator →

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