#0B402D#0B402D

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

Color values

HEX#0B402D
RGBrgb(11, 64, 45)
HSLhsl(158, 71%, 15%)
HSVhsv(158, 83%, 25%)
CMYKcmyk(82.8%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.43, -22.36, 6.84)
CIE-LCHlch(23.43, 23.38, 163.00°)
OKLaboklab(33.21% -0.0614 0.0174)
OKLCHoklch(33.21% 0.064 164.1)
XYZxyz(2.4448, 3.9271, 3.1113)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B402D #400B1E
analogous
#0B4013 #0B402D #0B3940
triadic
#0B402D #2D0B40 #402D0B
tetradic
#0B402D #130B40 #400B1E #39400B
square
#0B402D #130B40 #400B1E #39400B
split-complementary
#0B402D #400B39 #40130B
monochromatic
#041A12 #041A12 #0B402D #147452 #1DA876

Accessibility & contrast

On white

11.76
#0B402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0B402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B402D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B402D#FFFFFF#000000##FFFFFF
##0B402D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b402d;
/* rgb */ color: rgb(11, 64, 45);
/* oklch */ color: oklch(33.2% 0.064 164.1);
Tailwind
colors: {
  custom: {
    50: '#537565',
    500: '#0b402d',
    950: '#000000',
  },
}
SCSS
$custom: #0b402d;
$custom-light: #537565;
$custom-dark: #000000;
JSON
{
  "hex": "#0b402d",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 158.491,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33208,
    "c": 0.06384,
    "h": 164.1
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#0B402D
secondary
#7D2A48
accent
#3A7BED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0B402D

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

Preview Lab → · Contrast checker → · Palette generator →

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