#0F4039#0F4039

#0F4039 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.7% C 0.053 H 181.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#0F4039
RGBrgb(15, 64, 57)
HSLhsl(171, 62%, 15%)
HSVhsv(171, 77%, 25%)
CMYKcmyk(76.6%, 0%, 10.9%, 74.9%)
CIE-LABlab(23.88, -18.05, -0.43)
CIE-LCHlch(23.88, 18.06, 181.37°)
OKLaboklab(33.72% -0.0526 -0.0015)
OKLCHoklch(33.72% 0.053 181.6)
XYZxyz(2.7686, 4.0634, 4.5085)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4039 #400F16
analogous
#0F4020 #0F4039 #0F2E40
triadic
#0F4039 #390F40 #40390F
tetradic
#0F4039 #200F40 #400F16 #2E400F
square
#0F4039 #200F40 #400F16 #2E400F
split-complementary
#0F4039 #400F2E #40200F
monochromatic
#061916 #061916 #0F4039 #1B7265 #26A391

Accessibility & contrast

On white

11.58
#0F4039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0F4039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4039
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4039#FFFFFF#000000##FFFFFF
##0F40391.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C39
Deuteranopia (green-blind)
#36373A
Tritanopia (blue-blind)
#00413E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4039;
/* rgb */ color: rgb(15, 64, 57);
/* oklch */ color: oklch(33.7% 0.053 181.6);
Tailwind
colors: {
  custom: {
    50: '#56756f',
    500: '#0f4039',
    950: '#000000',
  },
}
SCSS
$custom: #0f4039;
$custom-light: #56756f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4039",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 57
  },
  "hsl": {
    "h": 171.429,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.05262,
    "h": 181.6
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#0F4039
secondary
#7A303B
accent
#435AE5
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0F4039

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

Preview Lab → · Contrast checker → · Palette generator →

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