#0D0548#0D0548

#0D0548 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.114 H 274.7°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0D0548
RGBrgb(13, 5, 72)
HSLhsl(247, 87%, 15%)
HSVhsv(247, 93%, 28%)
CMYKcmyk(81.9%, 93.1%, 0%, 71.8%)
CIE-LABlab(5.98, 27.53, -38.99)
CIE-LCHlch(5.98, 47.72, 305.23°)
OKLaboklab(20.06% 0.0094 -0.1137)
OKLCHoklch(20.06% 0.114 274.7)
XYZxyz(1.3896, 0.6618, 6.1842)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0548 #404805
analogous
#051F48 #0D0548 #2E0548
triadic
#0D0548 #480D05 #05480D
tetradic
#0D0548 #48051F #404805 #05482E
square
#0D0548 #48051F #404805 #05482E
split-complementary
#0D0548 #482E05 #1F4805
monochromatic
#05021D #05021D #0D0548 #170981 #220DBA

Accessibility & contrast

On white

18.54
#0D0548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0548
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0548#FFFFFF#000000##FFFFFF
##0D05481.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00164A
Deuteranopia (green-blind)
#001047
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0548;
/* rgb */ color: rgb(13, 5, 72);
/* oklch */ color: oklch(20.1% 0.114 274.7);
Tailwind
colors: {
  custom: {
    50: '#58477c',
    500: '#0d0548',
    950: '#000000',
  },
}
SCSS
$custom: #0d0548;
$custom-light: #58477c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0548",
  "rgb": {
    "r": 13,
    "g": 5,
    "b": 72
  },
  "hsl": {
    "h": 247.164,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20055,
    "c": 0.11407,
    "h": 274.7
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#0D0548
secondary
#7C8821
accent
#FD2BE4
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0D0548

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

Preview Lab → · Contrast checker → · Palette generator →

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