#0F4238#0F4238

#0F4238 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.3% C 0.056 H 176.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#0F4238
RGBrgb(15, 66, 56)
HSLhsl(168, 63%, 16%)
HSVhsv(168, 77%, 26%)
CMYKcmyk(77.3%, 0%, 15.2%, 74.1%)
CIE-LABlab(24.59, -19.45, 1.26)
CIE-LCHlch(24.59, 19.49, 176.30°)
OKLaboklab(34.29% -0.0556 0.003)
OKLCHoklch(34.29% 0.056 176.9)
XYZxyz(2.8587, 4.2832, 4.4167)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4238 #420F19
analogous
#0F421E #0F4238 #0F3242
triadic
#0F4238 #380F42 #42380F
tetradic
#0F4238 #1E0F42 #420F19 #32420F
square
#0F4238 #1E0F42 #420F19 #32420F
split-complementary
#0F4238 #420F32 #421E0F
monochromatic
#061915 #061915 #0F4238 #1A7462 #26A68D

Accessibility & contrast

On white

11.31
#0F4238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0F4238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4238
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4238#FFFFFF#000000##FFFFFF
##0F42381.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f4238;
/* rgb */ color: rgb(15, 66, 56);
/* oklch */ color: oklch(34.3% 0.056 176.9);
Tailwind
colors: {
  custom: {
    50: '#56776e',
    500: '#0f4238',
    950: '#000000',
  },
}
SCSS
$custom: #0f4238;
$custom-light: #56776e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4238",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 168.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34287,
    "c": 0.05571,
    "h": 176.9
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#0F4238
secondary
#7C303F
accent
#4262E6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0F4238

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

Preview Lab → · Contrast checker → · Palette generator →

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