#0F4240#0F4240

#0F4240 is a dark, muted teal. Relative luminance 0.044; OKLCH L 34.6% C 0.052 H 191.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#0F4240
RGBrgb(15, 66, 64)
HSLhsl(178, 63%, 16%)
HSVhsv(178, 77%, 26%)
CMYKcmyk(77.3%, 0%, 3%, 74.1%)
CIE-LABlab(24.85, -16.85, -3.64)
CIE-LCHlch(24.85, 17.24, 192.18°)
OKLaboklab(34.59% -0.0513 -0.0101)
OKLCHoklch(34.59% 0.052 191.2)
XYZxyz(3.0702, 4.3678, 5.5308)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4240 #420F11
analogous
#0F4226 #0F4240 #0F2A42
triadic
#0F4240 #400F42 #42400F
tetradic
#0F4240 #260F42 #420F11 #2A420F
square
#0F4240 #260F42 #420F11 #2A420F
split-complementary
#0F4240 #420F2A #42260F
monochromatic
#061918 #061918 #0F4240 #1A7470 #26A6A1

Accessibility & contrast

On white

11.21
#0F4240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0F4240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4240
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4240#FFFFFF#000000##FFFFFF
##0F42401.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#363940
Tritanopia (blue-blind)
#004441
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f4240;
/* rgb */ color: rgb(15, 66, 64);
/* oklch */ color: oklch(34.6% 0.052 191.2);
Tailwind
colors: {
  custom: {
    50: '#577674',
    500: '#0f4240',
    950: '#000000',
  },
}
SCSS
$custom: #0f4240;
$custom-light: #577674;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4240",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 177.647,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34591,
    "c": 0.05225,
    "h": 191.2
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#0F4240
secondary
#7C3033
accent
#4248E6
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0F4240

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

Preview Lab → · Contrast checker → · Palette generator →

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