#0F5168#0F5168

#0F5168 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 40.7% C 0.073 H 227.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#0F5168
RGBrgb(15, 81, 104)
HSLhsl(196, 75%, 23%)
HSVhsv(196, 86%, 41%)
CMYKcmyk(85.6%, 22.1%, 0%, 59.2%)
CIE-LABlab(31.77, -10.93, -18.93)
CIE-LCHlch(31.77, 21.86, 239.99°)
OKLaboklab(40.72% -0.0494 -0.0532)
OKLCHoklch(40.72% 0.073 227.1)
XYZxyz(5.6371, 6.9852, 14.1452)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5168 #68260F
analogous
#0F6852 #0F5168 #0F2468
triadic
#0F5168 #680F51 #51680F
tetradic
#0F5168 #520F68 #68260F #24680F
square
#0F5168 #520F68 #68260F #24680F
split-complementary
#0F5168 #680F24 #68520F
monochromatic
#04151B #072733 #0F5168 #177B9D #1EA4D3

Accessibility & contrast

On white

8.76
#0F5168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0F5168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5168
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5168#FFFFFF#000000##FFFFFF
##0F51681.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F69
Deuteranopia (green-blind)
#394768
Tritanopia (blue-blind)
#005859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5168;
/* rgb */ color: rgb(15, 81, 104);
/* oklch */ color: oklch(40.7% 0.073 227.1);
Tailwind
colors: {
  custom: {
    50: '#5f8193',
    500: '#0f5168',
    950: '#000000',
  },
}
SCSS
$custom: #0f5168;
$custom-light: #5f8193;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5168",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 104
  },
  "hsl": {
    "h": 195.506,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.07257,
    "h": 227.1
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#0F5168
secondary
#A14F32
accent
#6736F1
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#050A0D
muted
#7A7C7E

Preview Lab

Preview with #0F5168

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

Preview Lab → · Contrast checker → · Palette generator →

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