#0F4138#0F4138

#0F4138 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.0% C 0.054 H 178.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#0F4138
RGBrgb(15, 65, 56)
HSLhsl(169, 63%, 16%)
HSVhsv(169, 77%, 25%)
CMYKcmyk(76.9%, 0%, 13.8%, 74.5%)
CIE-LABlab(24.22, -18.91, 0.72)
CIE-LCHlch(24.22, 18.93, 177.82°)
OKLaboklab(33.99% -0.0544 0.0016)
OKLCHoklch(33.99% 0.054 178.3)
XYZxyz(2.8008, 4.1674, 4.3974)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4138 #410F18
analogous
#0F411F #0F4138 #0F3141
triadic
#0F4138 #380F41 #41380F
tetradic
#0F4138 #1F0F41 #410F18 #31410F
square
#0F4138 #1F0F41 #410F18 #31410F
split-complementary
#0F4138 #410F31 #411F0F
monochromatic
#061915 #061915 #0F4138 #1A7363 #26A48E

Accessibility & contrast

On white

11.45
#0F4138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0F4138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4138
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4138#FFFFFF#000000##FFFFFF
##0F41381.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#00423E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f4138;
/* rgb */ color: rgb(15, 65, 56);
/* oklch */ color: oklch(34.0% 0.054 178.3);
Tailwind
colors: {
  custom: {
    50: '#56766e',
    500: '#0f4138',
    950: '#000000',
  },
}
SCSS
$custom: #0f4138;
$custom-light: #56766e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4138",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 169.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33986,
    "c": 0.05442,
    "h": 178.3
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#0F4138
secondary
#7B303E
accent
#4260E6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0F4138

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

Preview Lab → · Contrast checker → · Palette generator →

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