#0F5340#0F5340

#0F5340 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.6% C 0.073 H 169.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#0F5340
RGBrgb(15, 83, 64)
HSLhsl(163, 69%, 19%)
HSVhsv(163, 82%, 33%)
CMYKcmyk(81.9%, 0%, 22.9%, 67.5%)
CIE-LABlab(31.01, -25.67, 5.32)
CIE-LCHlch(31.01, 26.21, 168.28°)
OKLaboklab(39.62% -0.0714 0.0136)
OKLCHoklch(39.62% 0.073 169.2)
XYZxyz(4.2152, 6.6577, 5.9124)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5340 #530F22
analogous
#0F531E #0F5340 #0F4453
triadic
#0F5340 #400F53 #53400F
tetradic
#0F5340 #1E0F53 #530F22 #44530F
square
#0F5340 #1E0F53 #530F22 #44530F
split-complementary
#0F5340 #530F44 #531E0F
monochromatic
#051A14 #061F18 #0F5340 #188768 #22BB90

Accessibility & contrast

On white

9.01
#0F5340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0F5340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5340
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5340#FFFFFF#000000##FFFFFF
##0F53401.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#484641
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5340;
/* rgb */ color: rgb(15, 83, 64);
/* oklch */ color: oklch(39.6% 0.073 169.2);
Tailwind
colors: {
  custom: {
    50: '#5a8474',
    500: '#0f5340',
    950: '#000000',
  },
}
SCSS
$custom: #0f5340;
$custom-light: #5a8474;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5340",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 163.235,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.07272,
    "h": 169.2
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#0F5340
secondary
#8D314B
accent
#3C6DEC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5340

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

Preview Lab → · Contrast checker → · Palette generator →

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