#0F5337#0F5337

#0F5337 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.4% C 0.081 H 160.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#0F5337
RGBrgb(15, 83, 55)
HSLhsl(155, 69%, 19%)
HSVhsv(155, 82%, 33%)
CMYKcmyk(81.9%, 0%, 33.7%, 67.5%)
CIE-LABlab(30.79, -28.07, 10.66)
CIE-LCHlch(30.79, 30.03, 159.20°)
OKLaboklab(39.37% -0.0764 0.027)
OKLCHoklch(39.37% 0.081 160.5)
XYZxyz(3.9794, 6.5634, 4.6708)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5337 #530F2B
analogous
#0F5315 #0F5337 #0F4D53
triadic
#0F5337 #370F53 #53370F
tetradic
#0F5337 #150F53 #530F2B #4D530F
square
#0F5337 #150F53 #530F2B #4D530F
split-complementary
#0F5337 #530F4D #53150F
monochromatic
#051A11 #061F15 #0F5337 #188759 #22BB7C

Accessibility & contrast

On white

9.08
#0F5337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0F5337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5337
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5337#FFFFFF#000000##FFFFFF
##0F53371.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C35
Deuteranopia (green-blind)
#494639
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5337;
/* rgb */ color: rgb(15, 83, 55);
/* oklch */ color: oklch(39.4% 0.081 160.5);
Tailwind
colors: {
  custom: {
    50: '#5a846e',
    500: '#0f5337',
    950: '#000000',
  },
}
SCSS
$custom: #0f5337;
$custom-light: #5a846e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5337",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 55
  },
  "hsl": {
    "h": 155.294,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.08104,
    "h": 160.5
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#0F5337
secondary
#8D3157
accent
#3C84EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5337

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

Preview Lab → · Contrast checker → · Palette generator →

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