#0B4F2F#0B4F2F

#0B4F2F is a dark, moderate teal. Relative luminance 0.059; OKLCH L 37.9% C 0.085 H 156.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#0B4F2F
RGBrgb(11, 79, 47)
HSLhsl(152, 76%, 18%)
HSVhsv(152, 86%, 31%)
CMYKcmyk(86.1%, 0%, 40.5%, 69%)
CIE-LABlab(29.08, -28.80, 13.29)
CIE-LCHlch(29.08, 31.72, 155.22°)
OKLaboklab(37.87% -0.0778 0.0333)
OKLCHoklch(37.87% 0.085 156.8)
XYZxyz(3.4467, 5.8679, 3.6397)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F2F #4F0B2B
analogous
#0B4F0D #0B4F2F #0B4D4F
triadic
#0B4F2F #2F0B4F #4F2F0B
tetradic
#0B4F2F #0D0B4F #4F0B2B #4D4F0B
square
#0B4F2F #0D0B4F #4F0B2B #4D4F0B
split-complementary
#0B4F2F #4F0B4D #4F0D0B
monochromatic
#041B10 #041B10 #0B4F2F #12854F #1ABA6F

Accessibility & contrast

On white

9.66
#0B4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0B4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F2F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F2F#FFFFFF#000000##FFFFFF
##0B4F2F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#464231
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0b4f2f;
/* rgb */ color: rgb(11, 79, 47);
/* oklch */ color: oklch(37.9% 0.085 156.8);
Tailwind
colors: {
  custom: {
    50: '#588167',
    500: '#0b4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f2f;
$custom-light: #588167;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f2f",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 151.765,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.08462,
    "h": 156.8
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#0B4F2F
secondary
#8B2B58
accent
#368EF2
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0B4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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