#0F4F3C#0F4F3C

#0F4F3C is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.3% C 0.071 H 168.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0F4F3C
RGBrgb(15, 79, 60)
HSLhsl(162, 68%, 18%)
HSVhsv(162, 81%, 31%)
CMYKcmyk(81%, 0%, 24.1%, 69%)
CIE-LABlab(29.46, -24.86, 5.66)
CIE-LCHlch(29.46, 25.50, 167.18°)
OKLaboklab(38.31% -0.069 0.0145)
OKLCHoklch(38.31% 0.071 168.2)
XYZxyz(3.8082, 6.0193, 5.2352)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F3C #4F0F22
analogous
#0F4F1C #0F4F3C #0F424F
triadic
#0F4F3C #3C0F4F #4F3C0F
tetradic
#0F4F3C #1C0F4F #4F0F22 #424F0F
square
#0F4F3C #1C0F4F #4F0F22 #424F0F
split-complementary
#0F4F3C #4F0F42 #4F1C0F
monochromatic
#051A14 #051C15 #0F4F3C #198263 #23B68A

Accessibility & contrast

On white

9.53
#0F4F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F4F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F3C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F3C#FFFFFF#000000##FFFFFF
##0F4F3C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493B
Deuteranopia (green-blind)
#45433D
Tritanopia (blue-blind)
#004F4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f3c;
/* rgb */ color: rgb(15, 79, 60);
/* oklch */ color: oklch(38.3% 0.071 168.2);
Tailwind
colors: {
  custom: {
    50: '#598171',
    500: '#0f4f3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f3c;
$custom-light: #598171;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f3c",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 60
  },
  "hsl": {
    "h": 162.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.07051,
    "h": 168.2
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#0F4F3C
secondary
#89314B
accent
#3D71EB
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F4F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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