#0F164C#0F164C

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

Color values

HEX#0F164C
RGBrgb(15, 22, 76)
HSLhsl(233, 67%, 18%)
HSVhsv(233, 80%, 30%)
CMYKcmyk(80.3%, 71.1%, 0%, 70.2%)
CIE-LABlab(10.54, 18.60, -34.27)
CIE-LCHlch(10.54, 38.99, 298.50°)
OKLaboklab(23.62% 0.0014 -0.099)
OKLCHoklch(23.62% 0.099 270.8)
XYZxyz(1.7880, 1.1970, 6.9729)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164C #4C450F
analogous
#0F344C #0F164C #260F4C
triadic
#0F164C #4C0F16 #164C0F
tetradic
#0F164C #4C0F34 #4C450F #0F4C26
square
#0F164C #4C0F34 #4C450F #0F4C26
split-complementary
#0F164C #4C260F #344C0F
monochromatic
#05071A #05071A #0F164C #19257F #2334B2

Accessibility & contrast

On white

16.94
#0F164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F164C
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164C#FFFFFF#000000##FFFFFF
##0F164C1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f164c;
/* rgb */ color: rgb(15, 22, 76);
/* oklch */ color: oklch(23.6% 0.099 270.8);
Tailwind
colors: {
  custom: {
    50: '#58537f',
    500: '#0f164c',
    950: '#000000',
  },
}
SCSS
$custom: #0f164c;
$custom-light: #58537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164c",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 233.115,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23618,
    "c": 0.09904,
    "h": 270.8
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#0F164C
secondary
#867C31
accent
#D63EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164C

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

Preview Lab → · Contrast checker → · Palette generator →

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