#0D174C#0D174C

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

Color values

HEX#0D174C
RGBrgb(13, 23, 76)
HSLhsl(230, 71%, 17%)
HSVhsv(230, 83%, 30%)
CMYKcmyk(82.9%, 69.7%, 0%, 70.2%)
CIE-LABlab(10.70, 17.59, -33.99)
CIE-LCHlch(10.70, 38.27, 297.35°)
OKLaboklab(23.71% -0.0016 -0.0983)
OKLCHoklch(23.71% 0.098 269)
XYZxyz(1.7764, 1.2200, 6.9779)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D174C #4C420D
analogous
#0D374C #0D174C #220D4C
triadic
#0D174C #4C0D17 #174C0D
tetradic
#0D174C #4C0D37 #4C420D #0D4C22
square
#0D174C #4C0D37 #4C420D #0D4C22
split-complementary
#0D174C #4C220D #374C0D
monochromatic
#04081A #04081A #0D174C #162780 #1F37B5

Accessibility & contrast

On white

16.88
#0D174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D174C
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D174C#FFFFFF#000000##FFFFFF
##0D174C1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d174c;
/* rgb */ color: rgb(13, 23, 76);
/* oklch */ color: oklch(23.7% 0.098 269.0);
Tailwind
colors: {
  custom: {
    50: '#57537f',
    500: '#0d174c',
    950: '#000000',
  },
}
SCSS
$custom: #0d174c;
$custom-light: #57537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d174c",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 230.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2371,
    "c": 0.09829,
    "h": 269
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#0D174C
secondary
#87792E
accent
#D13AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D174C

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

Preview Lab → · Contrast checker → · Palette generator →

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