#0F4842#0F4842

#0F4842 is a dark, muted teal. Relative luminance 0.051; OKLCH L 36.4% C 0.058 H 184.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#0F4842
RGBrgb(15, 72, 66)
HSLhsl(174, 66%, 17%)
HSVhsv(174, 79%, 28%)
CMYKcmyk(79.2%, 0%, 8.3%, 71.8%)
CIE-LABlab(27.10, -19.47, -1.62)
CIE-LCHlch(27.10, 19.54, 184.77°)
OKLaboklab(36.44% -0.0574 -0.0047)
OKLCHoklch(36.44% 0.058 184.7)
XYZxyz(3.4973, 5.1292, 5.9589)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4842 #480F15
analogous
#0F4826 #0F4842 #0F3248
triadic
#0F4842 #420F48 #48420F
tetradic
#0F4842 #260F48 #480F15 #32480F
square
#0F4842 #260F48 #480F15 #32480F
split-complementary
#0F4842 #480F32 #48260F
monochromatic
#051917 #051917 #0F4842 #1A7B70 #24AD9F

Accessibility & contrast

On white

10.37
#0F4842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4842
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4842#FFFFFF#000000##FFFFFF
##0F48421.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444342
Deuteranopia (green-blind)
#3C3E43
Tritanopia (blue-blind)
#004A46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4842;
/* rgb */ color: rgb(15, 72, 66);
/* oklch */ color: oklch(36.4% 0.058 184.7);
Tailwind
colors: {
  custom: {
    50: '#587b76',
    500: '#0f4842',
    950: '#000000',
  },
}
SCSS
$custom: #0f4842;
$custom-light: #587b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4842",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 173.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36442,
    "c": 0.05762,
    "h": 184.7
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#0F4842
secondary
#823039
accent
#3F51E8
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #0F4842

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

Preview Lab → · Contrast checker → · Palette generator →

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