#0F312D#0F312D

#0F312D is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.7% C 0.040 H 184.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#0F312D
RGBrgb(15, 49, 45)
HSLhsl(173, 53%, 13%)
HSVhsv(173, 69%, 19%)
CMYKcmyk(69.4%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.86, -13.46, -1.13)
CIE-LCHlch(17.86, 13.50, 184.81°)
OKLaboklab(28.7% -0.0398 -0.0033)
OKLCHoklch(28.7% 0.04 184.7)
XYZxyz(1.7688, 2.4875, 2.8690)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F312D #310F13
analogous
#0F311C #0F312D #0F2431
triadic
#0F312D #2D0F31 #312D0F
tetradic
#0F312D #1C0F31 #310F13 #24310F
square
#0F312D #1C0F31 #310F13 #24310F
split-complementary
#0F312D #310F24 #311C0F
monochromatic
#071716 #071716 #0F312D #1D6058 #2C8F83

Accessibility & contrast

On white

14.02
#0F312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F312D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F312D#FFFFFF#000000##FFFFFF
##0F312D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f312d;
/* rgb */ color: rgb(15, 49, 45);
/* oklch */ color: oklch(28.7% 0.040 184.7);
Tailwind
colors: {
  custom: {
    50: '#526965',
    500: '#0f312d',
    950: '#000000',
  },
}
SCSS
$custom: #0f312d;
$custom-light: #526965;
$custom-dark: #000000;
JSON
{
  "hex": "#0f312d",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 172.941,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28697,
    "c": 0.0399,
    "h": 184.7
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#0F312D
secondary
#6B3138
accent
#4B5CDD
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0F312D

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

Preview Lab → · Contrast checker → · Palette generator →

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