#0F312B#0F312B

#0F312B is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.6% C 0.041 H 179.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#0F312B
RGBrgb(15, 49, 43)
HSLhsl(169, 53%, 13%)
HSVhsv(169, 69%, 19%)
CMYKcmyk(69.4%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.79, -14.11, 0.15)
CIE-LCHlch(17.79, 14.11, 179.38°)
OKLaboklab(28.62% -0.0409 0.0002)
OKLCHoklch(28.62% 0.041 179.8)
XYZxyz(1.7312, 2.4724, 2.6710)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F312B #310F15
analogous
#0F311A #0F312B #0F2631
triadic
#0F312B #2B0F31 #312B0F
tetradic
#0F312B #1A0F31 #310F15 #26310F
square
#0F312B #1A0F31 #310F15 #26310F
split-complementary
#0F312B #310F26 #311A0F
monochromatic
#071715 #071715 #0F312B #1D6054 #2C8F7D

Accessibility & contrast

On white

14.05
#0F312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F312B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F312B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F312B#FFFFFF#000000##FFFFFF
##0F312B1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f312b;
/* rgb */ color: rgb(15, 49, 43);
/* oklch */ color: oklch(28.6% 0.041 179.8);
Tailwind
colors: {
  custom: {
    50: '#526964',
    500: '#0f312b',
    950: '#000000',
  },
}
SCSS
$custom: #0f312b;
$custom-light: #526964;
$custom-dark: #000000;
JSON
{
  "hex": "#0f312b",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 169.412,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28618,
    "c": 0.04091,
    "h": 179.8
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#0F312B
secondary
#6B313B
accent
#4B65DD
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0F312B

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

Preview Lab → · Contrast checker → · Palette generator →

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