#0D174F#0D174F

#0D174F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.103 H 269.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#0D174F
RGBrgb(13, 23, 79)
HSLhsl(231, 72%, 18%)
HSVhsv(231, 84%, 31%)
CMYKcmyk(83.5%, 70.9%, 0%, 69%)
CIE-LABlab(11.01, 18.87, -35.56)
CIE-LCHlch(11.01, 40.25, 297.95°)
OKLaboklab(24.03% -0.0018 -0.1029)
OKLCHoklch(24.03% 0.103 269)
XYZxyz(1.8832, 1.2627, 7.5401)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D174F #4F450D
analogous
#0D384F #0D174F #240D4F
triadic
#0D174F #4F0D17 #174F0D
tetradic
#0D174F #4F0D38 #4F450D #0D4F24
square
#0D174F #4F0D38 #4F450D #0D4F24
split-complementary
#0D174F #4F240D #384F0D
monochromatic
#04081A #04081A #0D174F #162684 #1E36B8

Accessibility & contrast

On white

16.77
#0D174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D174F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D174F#FFFFFF#000000##FFFFFF
##0D174F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d174f;
/* rgb */ color: rgb(13, 23, 79);
/* oklch */ color: oklch(24.0% 0.103 269.0);
Tailwind
colors: {
  custom: {
    50: '#585381',
    500: '#0d174f',
    950: '#000000',
  },
}
SCSS
$custom: #0d174f;
$custom-light: #585381;
$custom-dark: #000000;
JSON
{
  "hex": "#0d174f",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 230.909,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24032,
    "c": 0.10288,
    "h": 269
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#0D174F
secondary
#8A7C2E
accent
#D339EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D174F

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

Preview Lab → · Contrast checker → · Palette generator →

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