#0D152C#0D152C

#0D152C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.048 H 267.6°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0D152C
RGBrgb(13, 21, 44)
HSLhsl(225, 54%, 11%)
HSVhsv(225, 70%, 17%)
CMYKcmyk(70.5%, 52.3%, 0%, 82.7%)
CIE-LABlab(7.26, 5.07, -16.67)
CIE-LCHlch(7.26, 17.43, 286.93°)
OKLaboklab(20.21% -0.002 -0.0475)
OKLCHoklch(20.21% 0.048 267.6)
XYZxyz(0.8886, 0.8037, 2.4907)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D152C #2C240D
analogous
#0D242C #0D152C #140D2C
triadic
#0D152C #2C0D15 #152C0D
tetradic
#0D152C #2C0D24 #2C240D #0D2C14
square
#0D152C #2C0D24 #2C240D #0D2C14
split-complementary
#0D152C #2C140D #242C0D
monochromatic
#070B18 #070B18 #0D152C #1B2C5B #29428A

Accessibility & contrast

On white

18.09
#0D152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D152C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D152C#FFFFFF#000000##FFFFFF
##0D152C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182D
Deuteranopia (green-blind)
#07152C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d152c;
/* rgb */ color: rgb(13, 21, 44);
/* oklch */ color: oklch(20.2% 0.048 267.6);
Tailwind
colors: {
  custom: {
    50: '#4f5165',
    500: '#0d152c',
    950: '#000000',
  },
}
SCSS
$custom: #0d152c;
$custom-light: #4f5165;
$custom-dark: #000000;
JSON
{
  "hex": "#0d152c",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 224.516,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20213,
    "c": 0.04757,
    "h": 267.6
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#0D152C
secondary
#67582E
accent
#B84ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0D152C

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

Preview Lab → · Contrast checker → · Palette generator →

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