#0F164F#0F164F

#0F164F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.104 H 270.7°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#0F164F
RGBrgb(15, 22, 79)
HSLhsl(233, 68%, 18%)
HSVhsv(233, 81%, 31%)
CMYKcmyk(81%, 72.2%, 0%, 69%)
CIE-LABlab(10.85, 19.85, -35.82)
CIE-LCHlch(10.85, 40.96, 298.99°)
OKLaboklab(23.94% 0.0012 -0.1036)
OKLCHoklch(23.94% 0.104 270.7)
XYZxyz(1.8947, 1.2397, 7.5350)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164F #4F480F
analogous
#0F364F #0F164F #280F4F
triadic
#0F164F #4F0F16 #164F0F
tetradic
#0F164F #4F0F36 #4F480F #0F4F28
square
#0F164F #4F0F36 #4F480F #0F4F28
split-complementary
#0F164F #4F280F #364F0F
monochromatic
#05071A #05081C #0F164F #192482 #2333B6

Accessibility & contrast

On white

16.83
#0F164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F164F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164F#FFFFFF#000000##FFFFFF
##0F164F1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f164f;
/* rgb */ color: rgb(15, 22, 79);
/* oklch */ color: oklch(23.9% 0.104 270.7);
Tailwind
colors: {
  custom: {
    50: '#595381',
    500: '#0f164f',
    950: '#000000',
  },
}
SCSS
$custom: #0f164f;
$custom-light: #595381;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164f",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 233.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23942,
    "c": 0.1036,
    "h": 270.7
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#0F164F
secondary
#897F31
accent
#D83DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164F

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

Preview Lab → · Contrast checker → · Palette generator →

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