#0F4042#0F4042

#0F4042 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.051 H 199.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#0F4042
RGBrgb(15, 64, 66)
HSLhsl(182, 63%, 16%)
HSVhsv(182, 77%, 26%)
CMYKcmyk(77.3%, 3%, 0%, 74.1%)
CIE-LABlab(24.20, -15.02, -5.93)
CIE-LCHlch(24.20, 16.15, 201.56°)
OKLaboklab(34.09% -0.0478 -0.0165)
OKLCHoklch(34.09% 0.051 199)
XYZxyz(3.0133, 4.1614, 5.7976)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4042 #42110F
analogous
#0F422A #0F4042 #0F2642
triadic
#0F4042 #420F40 #40420F
tetradic
#0F4042 #2A0F42 #42110F #26420F
square
#0F4042 #2A0F42 #42110F #26420F
split-complementary
#0F4042 #420F26 #422A0F
monochromatic
#061819 #061819 #0F4042 #1A7074 #26A1A6

Accessibility & contrast

On white

11.46
#0F4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4042
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4042#FFFFFF#000000##FFFFFF
##0F40421.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D42
Deuteranopia (green-blind)
#333742
Tritanopia (blue-blind)
#004340
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f4042;
/* rgb */ color: rgb(15, 64, 66);
/* oklch */ color: oklch(34.1% 0.051 199.0);
Tailwind
colors: {
  custom: {
    50: '#577576',
    500: '#0f4042',
    950: '#000000',
  },
}
SCSS
$custom: #0f4042;
$custom-light: #577576;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4042",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 182.353,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.05052,
    "h": 199
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#0F4042
secondary
#7C3330
accent
#4842E6
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0F4042

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

Preview Lab → · Contrast checker → · Palette generator →

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