#0D153A#0D153A

#0D153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.072 H 270.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0D153A
RGBrgb(13, 21, 58)
HSLhsl(229, 63%, 14%)
HSVhsv(229, 78%, 23%)
CMYKcmyk(77.6%, 63.8%, 0%, 77.3%)
CIE-LABlab(8.37, 11.30, -25.12)
CIE-LCHlch(8.37, 27.54, 294.23°)
OKLaboklab(21.44% 0 -0.0722)
OKLCHoklch(21.44% 0.072 270)
XYZxyz(1.1976, 0.9273, 4.1180)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D153A #3A320D
analogous
#0D2C3A #0D153A #1C0D3A
triadic
#0D153A #3A0D15 #153A0D
tetradic
#0D153A #3A0D2C #3A320D #0D3A1C
square
#0D153A #3A0D2C #3A320D #0D3A1C
split-complementary
#0D153A #3A1C0D #2C3A0D
monochromatic
#060919 #060919 #0D153A #18276C #23399E

Accessibility & contrast

On white

17.72
#0D153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D153A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D153A#FFFFFF#000000##FFFFFF
##0D153A1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d153a;
/* rgb */ color: rgb(13, 21, 58);
/* oklch */ color: oklch(21.4% 0.072 270.0);
Tailwind
colors: {
  custom: {
    50: '#525170',
    500: '#0d153a',
    950: '#000000',
  },
}
SCSS
$custom: #0d153a;
$custom-light: #525170;
$custom-dark: #000000;
JSON
{
  "hex": "#0d153a",
  "rgb": {
    "r": 13,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 229.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21438,
    "c": 0.07224,
    "h": 270
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#0D153A
secondary
#76692D
accent
#C941E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0D153A

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

Preview Lab → · Contrast checker → · Palette generator →

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