#0F4038#0F4038

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

Color values

HEX#0F4038
RGBrgb(15, 64, 56)
HSLhsl(170, 62%, 15%)
HSVhsv(170, 77%, 25%)
CMYKcmyk(76.6%, 0%, 12.5%, 74.9%)
CIE-LABlab(23.85, -18.37, 0.18)
CIE-LCHlch(23.85, 18.37, 179.43°)
OKLaboklab(33.68% -0.0531 0.0002)
OKLCHoklch(33.68% 0.053 179.8)
XYZxyz(2.7439, 4.0536, 4.3784)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4038 #400F17
analogous
#0F401F #0F4038 #0F2F40
triadic
#0F4038 #380F40 #40380F
tetradic
#0F4038 #1F0F40 #400F17 #2F400F
square
#0F4038 #1F0F40 #400F17 #2F400F
split-complementary
#0F4038 #400F2F #401F0F
monochromatic
#061916 #061916 #0F4038 #1B7263 #26A38F

Accessibility & contrast

On white

11.60
#0F4038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4038
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4038#FFFFFF#000000##FFFFFF
##0F40381.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C38
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#00413E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4038;
/* rgb */ color: rgb(15, 64, 56);
/* oklch */ color: oklch(33.7% 0.053 179.8);
Tailwind
colors: {
  custom: {
    50: '#56756e',
    500: '#0f4038',
    950: '#000000',
  },
}
SCSS
$custom: #0f4038;
$custom-light: #56756e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4038",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 170.204,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.05315,
    "h": 179.8
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#0F4038
secondary
#7A303C
accent
#435DE5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0F4038

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

Preview Lab → · Contrast checker → · Palette generator →

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