#0F5440#0F5440

#0F5440 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.9% C 0.074 H 168.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#0F5440
RGBrgb(15, 84, 64)
HSLhsl(163, 70%, 19%)
HSVhsv(163, 82%, 33%)
CMYKcmyk(82.1%, 0%, 23.8%, 67.1%)
CIE-LABlab(31.37, -26.15, 5.84)
CIE-LCHlch(31.37, 26.79, 167.42°)
OKLaboklab(39.92% -0.0726 0.0149)
OKLCHoklch(39.92% 0.074 168.4)
XYZxyz(4.2922, 6.8119, 5.9381)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5440 #540F23
analogous
#0F541E #0F5440 #0F4654
triadic
#0F5440 #400F54 #54400F
tetradic
#0F5440 #1E0F54 #540F23 #46540F
square
#0F5440 #1E0F54 #540F23 #46540F
split-complementary
#0F5440 #540F46 #541E0F
monochromatic
#051A14 #062018 #0F5440 #188868 #22BC8F

Accessibility & contrast

On white

8.89
#0F5440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0F5440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5440
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5440#FFFFFF#000000##FFFFFF
##0F54401.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3F
Deuteranopia (green-blind)
#494741
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5440;
/* rgb */ color: rgb(15, 84, 64);
/* oklch */ color: oklch(39.9% 0.074 168.4);
Tailwind
colors: {
  custom: {
    50: '#5a8574',
    500: '#0f5440',
    950: '#000000',
  },
}
SCSS
$custom: #0f5440;
$custom-light: #5a8574;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5440",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 64
  },
  "hsl": {
    "h": 162.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.07411,
    "h": 168.4
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#0F5440
secondary
#8E314C
accent
#3B6FED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5440

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

Preview Lab → · Contrast checker → · Palette generator →

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