#0F5162#0F5162

#0F5162 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.4% C 0.068 H 220.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#0F5162
RGBrgb(15, 81, 98)
HSLhsl(192, 73%, 22%)
HSVhsv(192, 85%, 38%)
CMYKcmyk(84.7%, 17.3%, 0%, 61.6%)
CIE-LABlab(31.50, -13.22, -15.55)
CIE-LCHlch(31.50, 20.41, 229.63°)
OKLaboklab(40.41% -0.0519 -0.0435)
OKLCHoklch(40.41% 0.068 220)
XYZxyz(5.3431, 6.8676, 12.5969)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5162 #62200F
analogous
#0F624A #0F5162 #0F2862
triadic
#0F5162 #620F51 #51620F
tetradic
#0F5162 #4A0F62 #62200F #28620F
square
#0F5162 #4A0F62 #62200F #28620F
split-complementary
#0F5162 #620F28 #624A0F
monochromatic
#04161B #07252D #0F5162 #177D97 #1FA9CC

Accessibility & contrast

On white

8.85
#0F5162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0F5162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5162
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5162#FFFFFF#000000##FFFFFF
##0F51621.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#3C4762
Tritanopia (blue-blind)
#005756
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5162;
/* rgb */ color: rgb(15, 81, 98);
/* oklch */ color: oklch(40.4% 0.068 220.0);
Tailwind
colors: {
  custom: {
    50: '#5e828e',
    500: '#0f5162',
    950: '#000000',
  },
}
SCSS
$custom: #0f5162;
$custom-light: #5e828e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5162",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 192.289,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.06776,
    "h": 220
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#0F5162
secondary
#9B4732
accent
#5D38F0
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0F5162

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

Preview Lab → · Contrast checker → · Palette generator →

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