#0F5862#0F5862

#0F5862 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.3% C 0.068 H 209.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#0F5862
RGBrgb(15, 88, 98)
HSLhsl(187, 73%, 22%)
HSVhsv(187, 85%, 38%)
CMYKcmyk(84.7%, 10.2%, 0%, 61.6%)
CIE-LABlab(33.90, -17.24, -11.88)
CIE-LCHlch(33.90, 20.93, 214.58°)
OKLaboklab(42.35% -0.0595 -0.0331)
OKLCHoklch(42.35% 0.068 209.1)
XYZxyz(5.8904, 7.9621, 12.7793)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5862 #62190F
analogous
#0F6243 #0F5862 #0F2F62
triadic
#0F5862 #620F58 #58620F
tetradic
#0F5862 #430F62 #62190F #2F620F
square
#0F5862 #430F62 #62190F #2F620F
split-complementary
#0F5862 #620F2F #62430F
monochromatic
#04181B #07282D #0F5862 #178897 #1FB7CC

Accessibility & contrast

On white

8.10
#0F5862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5862
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5862#FFFFFF#000000##FFFFFF
##0F58621.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5463
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#005D5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5862;
/* rgb */ color: rgb(15, 88, 98);
/* oklch */ color: oklch(42.3% 0.068 209.1);
Tailwind
colors: {
  custom: {
    50: '#5f878e',
    500: '#0f5862',
    950: '#000000',
  },
}
SCSS
$custom: #0f5862;
$custom-light: #5f878e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5862",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 98
  },
  "hsl": {
    "h": 187.229,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.06808,
    "h": 209.1
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#0F5862
secondary
#9B3E32
accent
#4E38F0
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050B0C
muted
#797C7D

Preview Lab

Preview with #0F5862

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

Preview Lab → · Contrast checker → · Palette generator →

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