#0F6871#0F6871

#0F6871 is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.4% C 0.077 H 205.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#0F6871
RGBrgb(15, 104, 113)
HSLhsl(186, 77%, 25%)
HSVhsv(186, 87%, 44%)
CMYKcmyk(86.7%, 8%, 0%, 55.7%)
CIE-LABlab(39.90, -20.69, -12.05)
CIE-LCHlch(39.90, 23.94, 210.20°)
OKLaboklab(47.4% -0.0695 -0.0335)
OKLCHoklch(47.4% 0.077 205.8)
XYZxyz(8.1266, 11.1934, 17.3518)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6871 #71180F
analogous
#0F7149 #0F6871 #0F3771
triadic
#0F6871 #710F68 #68710F
tetradic
#0F6871 #490F71 #71180F #37710F
square
#0F6871 #490F71 #71180F #37710F
split-complementary
#0F6871 #710F37 #71490F
monochromatic
#04191B #08363B #0F6871 #169AA7 #1DCBDD

Accessibility & contrast

On white

6.48
#0F6871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#0F6871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6871
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6871#FFFFFF#000000##FFFFFF
##0F68711.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #0f6871;
/* rgb */ color: rgb(15, 104, 113);
/* oklch */ color: oklch(47.4% 0.077 205.8);
Tailwind
colors: {
  custom: {
    50: '#639399',
    500: '#0f6871',
    950: '#000000',
  },
}
SCSS
$custom: #0f6871;
$custom-light: #639399;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6871",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 185.51,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.07714,
    "h": 205.8
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#0F6871
secondary
#A93E33
accent
#4635F3
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#060D0E
muted
#7A7E7E

Preview Lab

Preview with #0F6871

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

Preview Lab → · Contrast checker → · Palette generator →

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