#0F174D#0F174D

#0F174D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.099 H 270.3°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#0F174D
RGBrgb(15, 23, 77)
HSLhsl(232, 67%, 18%)
HSVhsv(232, 81%, 30%)
CMYKcmyk(80.5%, 70.1%, 0%, 69.8%)
CIE-LABlab(10.92, 18.28, -34.32)
CIE-LCHlch(10.92, 38.89, 298.03°)
OKLaboklab(23.93% 0.0006 -0.0992)
OKLCHoklch(23.93% 0.099 270.3)
XYZxyz(1.8425, 1.2500, 7.1639)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F174D #4D450F
analogous
#0F364D #0F174D #260F4D
triadic
#0F174D #4D0F17 #174D0F
tetradic
#0F174D #4D0F36 #4D450F #0F4D26
square
#0F174D #4D0F36 #4D450F #0F4D26
split-complementary
#0F174D #4D260F #364D0F
monochromatic
#05081A #05081A #0F174D #192680 #2336B3

Accessibility & contrast

On white

16.80
#0F174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F174D
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F174D#FFFFFF#000000##FFFFFF
##0F174D1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f174d;
/* rgb */ color: rgb(15, 23, 77);
/* oklch */ color: oklch(23.9% 0.099 270.3);
Tailwind
colors: {
  custom: {
    50: '#58537f',
    500: '#0f174d',
    950: '#000000',
  },
}
SCSS
$custom: #0f174d;
$custom-light: #58537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f174d",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 232.258,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23933,
    "c": 0.0992,
    "h": 270.3
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#0F174D
secondary
#877C31
accent
#D43EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F174D

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

Preview Lab → · Contrast checker → · Palette generator →

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