#0F164B#0F164B

#0F164B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.098 H 270.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#0F164B
RGBrgb(15, 22, 75)
HSLhsl(233, 67%, 18%)
HSVhsv(233, 80%, 29%)
CMYKcmyk(80%, 70.7%, 0%, 70.6%)
CIE-LABlab(10.43, 18.18, -33.74)
CIE-LCHlch(10.43, 38.33, 298.32°)
OKLaboklab(23.51% 0.0015 -0.0975)
OKLCHoklch(23.51% 0.098 270.9)
XYZxyz(1.7535, 1.1832, 6.7912)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164B #4B440F
analogous
#0F344B #0F164B #260F4B
triadic
#0F164B #4B0F16 #164B0F
tetradic
#0F164B #4B0F34 #4B440F #0F4B26
square
#0F164B #4B0F34 #4B440F #0F4B26
split-complementary
#0F164B #4B260F #344B0F
monochromatic
#05071A #05071A #0F164B #19257E #2334B1

Accessibility & contrast

On white

16.98
#0F164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F164B
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164B#FFFFFF#000000##FFFFFF
##0F164B1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f164b;
/* rgb */ color: rgb(15, 22, 75);
/* oklch */ color: oklch(23.5% 0.098 270.9);
Tailwind
colors: {
  custom: {
    50: '#58537e',
    500: '#0f164b',
    950: '#000000',
  },
}
SCSS
$custom: #0f164b;
$custom-light: #58537e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164b",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 233,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23512,
    "c": 0.09751,
    "h": 270.9
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#0F164B
secondary
#857B30
accent
#D63EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164B

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

Preview Lab → · Contrast checker → · Palette generator →

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