#0F164D#0F164D

#0F164D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.101 H 270.8°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#0F164D
RGBrgb(15, 22, 77)
HSLhsl(233, 67%, 18%)
HSVhsv(233, 81%, 30%)
CMYKcmyk(80.5%, 71.4%, 0%, 69.8%)
CIE-LABlab(10.64, 19.02, -34.79)
CIE-LCHlch(10.64, 39.65, 298.67°)
OKLaboklab(23.73% 0.0014 -0.1006)
OKLCHoklch(23.73% 0.101 270.8)
XYZxyz(1.8230, 1.2110, 7.1574)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164D #4D460F
analogous
#0F354D #0F164D #270F4D
triadic
#0F164D #4D0F16 #164D0F
tetradic
#0F164D #4D0F35 #4D460F #0F4D27
square
#0F164D #4D0F35 #4D460F #0F4D27
split-complementary
#0F164D #4D270F #354D0F
monochromatic
#05071A #05071A #0F164D #192580 #2333B3

Accessibility & contrast

On white

16.91
#0F164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F164D
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164D#FFFFFF#000000##FFFFFF
##0F164D1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f164d;
/* rgb */ color: rgb(15, 22, 77);
/* oklch */ color: oklch(23.7% 0.101 270.8);
Tailwind
colors: {
  custom: {
    50: '#59537f',
    500: '#0f164d',
    950: '#000000',
  },
}
SCSS
$custom: #0f164d;
$custom-light: #59537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164d",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 233.226,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23726,
    "c": 0.10057,
    "h": 270.8
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#0F164D
secondary
#877D31
accent
#D73EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164D

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

Preview Lab → · Contrast checker → · Palette generator →

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