#0D152F#0D152F

#0D152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.5% C 0.053 H 268.6°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#0D152F
RGBrgb(13, 21, 47)
HSLhsl(226, 57%, 12%)
HSVhsv(226, 72%, 18%)
CMYKcmyk(72.3%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.47, 6.43, -18.56)
CIE-LCHlch(7.47, 19.64, 289.10°)
OKLaboklab(20.46% -0.0013 -0.053)
OKLCHoklch(20.46% 0.053 268.6)
XYZxyz(0.9471, 0.8271, 2.7985)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D152F #2F270D
analogous
#0D262F #0D152F #160D2F
triadic
#0D152F #2F0D15 #152F0D
tetradic
#0D152F #2F0D26 #2F270D #0D2F16
square
#0D152F #2F0D26 #2F270D #0D2F16
split-complementary
#0D152F #2F160D #262F0D
monochromatic
#070B18 #070B18 #0D152F #1A2A5F #28408F

Accessibility & contrast

On white

18.02
#0D152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D152F
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D152F#FFFFFF#000000##FFFFFF
##0D152F1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d152f;
/* rgb */ color: rgb(13, 21, 47);
/* oklch */ color: oklch(20.5% 0.053 268.6);
Tailwind
colors: {
  custom: {
    50: '#4f5167',
    500: '#0d152f',
    950: '#000000',
  },
}
SCSS
$custom: #0d152f;
$custom-light: #4f5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0d152f",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 225.882,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20456,
    "c": 0.05302,
    "h": 268.6
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#0D152F
secondary
#6A5C2E
accent
#BC48E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D152F

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

Preview Lab → · Contrast checker → · Palette generator →

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