#0F5248#0F5248

#0F5248 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.066 H 180.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#0F5248
RGBrgb(15, 82, 72)
HSLhsl(171, 69%, 19%)
HSVhsv(171, 82%, 32%)
CMYKcmyk(81.7%, 0%, 12.2%, 67.8%)
CIE-LABlab(30.89, -22.79, 0.06)
CIE-LCHlch(30.89, 22.79, 179.84°)
OKLaboklab(39.59% -0.0659 -0.0002)
OKLCHoklch(39.59% 0.066 180.2)
XYZxyz(4.3834, 6.6035, 7.1732)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5248 #520F19
analogous
#0F5227 #0F5248 #0F3B52
triadic
#0F5248 #480F52 #52480F
tetradic
#0F5248 #270F52 #520F19 #3B520F
square
#0F5248 #270F52 #520F19 #3B520F
split-complementary
#0F5248 #520F3B #52270F
monochromatic
#051A17 #061E1B #0F5248 #188675 #22B9A3

Accessibility & contrast

On white

9.05
#0F5248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F5248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5248
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5248#FFFFFF#000000##FFFFFF
##0F52481.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D48
Deuteranopia (green-blind)
#454649
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5248;
/* rgb */ color: rgb(15, 82, 72);
/* oklch */ color: oklch(39.6% 0.066 180.2);
Tailwind
colors: {
  custom: {
    50: '#5a837a',
    500: '#0f5248',
    950: '#000000',
  },
}
SCSS
$custom: #0f5248;
$custom-light: #5a837a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5248",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 72
  },
  "hsl": {
    "h": 171.045,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.06592,
    "h": 180.2
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#0F5248
secondary
#8C313E
accent
#3C56EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5248

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

Preview Lab → · Contrast checker → · Palette generator →

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