#0D152D#0D152D

#0D152D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.049 H 268.0°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#0D152D
RGBrgb(13, 21, 45)
HSLhsl(225, 55%, 11%)
HSVhsv(225, 71%, 18%)
CMYKcmyk(71.1%, 53.3%, 0%, 82.4%)
CIE-LABlab(7.33, 5.52, -17.30)
CIE-LCHlch(7.33, 18.16, 287.70°)
OKLaboklab(20.29% -0.0018 -0.0494)
OKLCHoklch(20.29% 0.049 268)
XYZxyz(0.9076, 0.8113, 2.5909)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D152D #2D250D
analogous
#0D252D #0D152D #150D2D
triadic
#0D152D #2D0D15 #152D0D
tetradic
#0D152D #2D0D25 #2D250D #0D2D15
square
#0D152D #2D0D25 #2D250D #0D2D15
split-complementary
#0D152D #2D150D #252D0D
monochromatic
#070B18 #070B18 #0D152D #1B2B5C #28418C

Accessibility & contrast

On white

18.07
#0D152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D152D
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D152D#FFFFFF#000000##FFFFFF
##0D152D1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d152d;
/* rgb */ color: rgb(13, 21, 45);
/* oklch */ color: oklch(20.3% 0.049 268.0);
Tailwind
colors: {
  custom: {
    50: '#4f5166',
    500: '#0d152d',
    950: '#000000',
  },
}
SCSS
$custom: #0d152d;
$custom-light: #4f5166;
$custom-dark: #000000;
JSON
{
  "hex": "#0d152d",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 225,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.04939,
    "h": 268
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#0D152D
secondary
#68592E
accent
#B949DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D152D

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

Preview Lab → · Contrast checker → · Palette generator →

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