#0D152E#0D152E

#0D152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.051 H 268.3°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0D152E
RGBrgb(13, 21, 46)
HSLhsl(225, 56%, 12%)
HSVhsv(225, 72%, 18%)
CMYKcmyk(71.7%, 54.3%, 0%, 82%)
CIE-LABlab(7.40, 5.97, -17.93)
CIE-LCHlch(7.40, 18.90, 288.43°)
OKLaboklab(20.37% -0.0015 -0.0512)
OKLCHoklch(20.37% 0.051 268.3)
XYZxyz(0.9271, 0.8191, 2.6935)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D152E #2E260D
analogous
#0D262E #0D152E #160D2E
triadic
#0D152E #2E0D15 #152E0D
tetradic
#0D152E #2E0D26 #2E260D #0D2E16
square
#0D152E #2E0D26 #2E260D #0D2E16
split-complementary
#0D152E #2E160D #262E0D
monochromatic
#070B18 #070B18 #0D152E #1A2B5E #28418D

Accessibility & contrast

On white

18.04
#0D152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D152E
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D152E#FFFFFF#000000##FFFFFF
##0D152E1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d152e;
/* rgb */ color: rgb(13, 21, 46);
/* oklch */ color: oklch(20.4% 0.051 268.3);
Tailwind
colors: {
  custom: {
    50: '#4f5167',
    500: '#0d152e',
    950: '#000000',
  },
}
SCSS
$custom: #0d152e;
$custom-light: #4f5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0d152e",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 225.455,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20374,
    "c": 0.05121,
    "h": 268.3
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#0D152E
secondary
#695B2E
accent
#BB49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D152E

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

Preview Lab → · Contrast checker → · Palette generator →

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