#0D1048#0D1048

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

Color values

HEX#0D1048
RGBrgb(13, 16, 72)
HSLhsl(237, 69%, 17%)
HSVhsv(237, 82%, 28%)
CMYKcmyk(81.9%, 77.8%, 0%, 71.8%)
CIE-LABlab(8.34, 21.07, -35.09)
CIE-LCHlch(8.34, 40.93, 300.98°)
OKLaboklab(21.86% 0.0036 -0.1015)
OKLCHoklch(21.86% 0.102 272)
XYZxyz(1.5206, 0.9239, 6.2278)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1048 #48450D
analogous
#0D2E48 #0D1048 #280D48
triadic
#0D1048 #480D10 #10480D
tetradic
#0D1048 #480D2E #48450D #0D4828
square
#0D1048 #480D2E #48450D #0D4828
split-complementary
#0D1048 #48280D #2E480D
monochromatic
#05061A #05061A #0D1048 #161C7C #2027B0

Accessibility & contrast

On white

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

On black

1.18
#0D1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0D1048#FFFFFF#000000##FFFFFF
##0D10481.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d1048;
/* rgb */ color: rgb(13, 16, 72);
/* oklch */ color: oklch(21.9% 0.102 272.0);
Tailwind
colors: {
  custom: {
    50: '#574e7c',
    500: '#0d1048',
    950: '#000000',
  },
}
SCSS
$custom: #0d1048;
$custom-light: #574e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1048",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 236.949,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21856,
    "c": 0.10159,
    "h": 272
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#0D1048
secondary
#837F2D
accent
#E33CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D1048

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

Preview Lab → · Contrast checker → · Palette generator →

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