#0D174A#0D174A

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

Color values

HEX#0D174A
RGBrgb(13, 23, 74)
HSLhsl(230, 70%, 17%)
HSVhsv(230, 82%, 29%)
CMYKcmyk(82.4%, 68.9%, 0%, 71%)
CIE-LABlab(10.50, 16.73, -32.94)
CIE-LCHlch(10.50, 36.94, 296.92°)
OKLaboklab(23.5% -0.0016 -0.0952)
OKLCHoklch(23.5% 0.095 269.1)
XYZxyz(1.7080, 1.1926, 6.6174)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D174A #4A400D
analogous
#0D364A #0D174A #220D4A
triadic
#0D174A #4A0D17 #174A0D
tetradic
#0D174A #4A0D36 #4A400D #0D4A22
square
#0D174A #4A0D36 #4A400D #0D4A22
split-complementary
#0D174A #4A220D #364A0D
monochromatic
#05081A #05081A #0D174A #16277E #1F37B2

Accessibility & contrast

On white

16.95
#0D174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D174A
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D174A#FFFFFF#000000##FFFFFF
##0D174A1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d174a;
/* rgb */ color: rgb(13, 23, 74);
/* oklch */ color: oklch(23.5% 0.095 269.1);
Tailwind
colors: {
  custom: {
    50: '#57537d',
    500: '#0d174a',
    950: '#000000',
  },
}
SCSS
$custom: #0d174a;
$custom-light: #57537d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d174a",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 230.164,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.235,
    "c": 0.0952,
    "h": 269.1
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#0D174A
secondary
#85772E
accent
#D03BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D174A

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

Preview Lab → · Contrast checker → · Palette generator →

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