#0F164A#0F164A

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

Color values

HEX#0F164A
RGBrgb(15, 22, 74)
HSLhsl(233, 66%, 17%)
HSVhsv(233, 80%, 29%)
CMYKcmyk(79.7%, 70.3%, 0%, 71%)
CIE-LABlab(10.33, 17.76, -33.21)
CIE-LCHlch(10.33, 37.67, 298.13°)
OKLaboklab(23.41% 0.0015 -0.0959)
OKLCHoklch(23.41% 0.096 270.9)
XYZxyz(1.7195, 1.1696, 6.6124)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F164A #4A430F
analogous
#0F344A #0F164A #250F4A
triadic
#0F164A #4A0F16 #164A0F
tetradic
#0F164A #4A0F34 #4A430F #0F4A25
square
#0F164A #4A0F34 #4A430F #0F4A25
split-complementary
#0F164A #4A250F #344A0F
monochromatic
#050819 #050819 #0F164A #19257D #2434B0

Accessibility & contrast

On white

17.02
#0F164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F164A
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F164A#FFFFFF#000000##FFFFFF
##0F164A1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f164a;
/* rgb */ color: rgb(15, 22, 74);
/* oklch */ color: oklch(23.4% 0.096 270.9);
Tailwind
colors: {
  custom: {
    50: '#58537d',
    500: '#0f164a',
    950: '#000000',
  },
}
SCSS
$custom: #0f164a;
$custom-light: #58537d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f164a",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 232.881,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23406,
    "c": 0.09596,
    "h": 270.9
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#0F164A
secondary
#847A30
accent
#D53FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F164A

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

Preview Lab → · Contrast checker → · Palette generator →

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