#0F402A#0F402A

#0F402A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.065 H 159.8°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#0F402A
RGBrgb(15, 64, 42)
HSLhsl(153, 62%, 15%)
HSVhsv(153, 77%, 25%)
CMYKcmyk(76.6%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.46, -22.41, 8.85)
CIE-LCHlch(23.46, 24.09, 158.45°)
OKLaboklab(33.24% -0.0611 0.0225)
OKLCHoklch(33.24% 0.065 159.8)
XYZxyz(2.4481, 3.9352, 2.8206)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F402A #400F25
analogous
#0F4011 #0F402A #0F3D40
triadic
#0F402A #2A0F40 #402A0F
tetradic
#0F402A #110F40 #400F25 #3D400F
square
#0F402A #110F40 #400F25 #3D400F
split-complementary
#0F402A #400F3D #40110F
monochromatic
#061910 #061910 #0F402A #1B724B #26A36B

Accessibility & contrast

On white

11.75
#0F402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F402A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F402A#FFFFFF#000000##FFFFFF
##0F402A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B29
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f402a;
/* rgb */ color: rgb(15, 64, 42);
/* oklch */ color: oklch(33.2% 0.065 159.8);
Tailwind
colors: {
  custom: {
    50: '#557563',
    500: '#0f402a',
    950: '#000000',
  },
}
SCSS
$custom: #0f402a;
$custom-light: #557563;
$custom-dark: #000000;
JSON
{
  "hex": "#0f402a",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 153.061,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33235,
    "c": 0.06511,
    "h": 159.8
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#0F402A
secondary
#7A3052
accent
#438CE5
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0F402A

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

Preview Lab → · Contrast checker → · Palette generator →

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