#0F174A#0F174A

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

Color values

HEX#0F174A
RGBrgb(15, 23, 74)
HSLhsl(232, 66%, 17%)
HSVhsv(232, 80%, 29%)
CMYKcmyk(79.7%, 68.9%, 0%, 71%)
CIE-LABlab(10.62, 17.01, -32.74)
CIE-LCHlch(10.62, 36.90, 297.45°)
OKLaboklab(23.62% 0.0007 -0.0946)
OKLCHoklch(23.62% 0.095 270.4)
XYZxyz(1.7390, 1.2086, 6.6189)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F174A #4A420F
analogous
#0F354A #0F174A #240F4A
triadic
#0F174A #4A0F17 #174A0F
tetradic
#0F174A #4A0F35 #4A420F #0F4A24
square
#0F174A #4A0F35 #4A420F #0F4A24
split-complementary
#0F174A #4A240F #354A0F
monochromatic
#050819 #050819 #0F174A #19277D #2437B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F174A#FFFFFF#000000##FFFFFF
##0F174A1.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)
#00204C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f174a;
/* rgb */ color: rgb(15, 23, 74);
/* oklch */ color: oklch(23.6% 0.095 270.4);
Tailwind
colors: {
  custom: {
    50: '#58537d',
    500: '#0f174a',
    950: '#000000',
  },
}
SCSS
$custom: #0f174a;
$custom-light: #58537d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f174a",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 231.864,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23619,
    "c": 0.09456,
    "h": 270.4
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#0F174A
secondary
#847930
accent
#D23FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F174A

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

Preview Lab → · Contrast checker → · Palette generator →

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