#0D0D48#0D0D48

#0D0D48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.105 H 273.0°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#0D0D48
RGBrgb(13, 13, 72)
HSLhsl(240, 69%, 17%)
HSVhsv(240, 82%, 28%)
CMYKcmyk(81.9%, 81.9%, 0%, 71.8%)
CIE-LABlab(7.60, 23.12, -36.32)
CIE-LCHlch(7.60, 43.05, 302.48°)
OKLaboklab(21.32% 0.0054 -0.1051)
OKLCHoklch(21.32% 0.105 273)
XYZxyz(1.4792, 0.8411, 6.2140)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D48 #48480D
analogous
#0D2B48 #0D0D48 #2B0D48
triadic
#0D0D48 #480D0D #0D480D
tetradic
#0D0D48 #480D2B #48480D #0D482B
square
#0D0D48 #480D2B #48480D #0D482B
split-complementary
#0D0D48 #482B0D #2B480D
monochromatic
#05051A #05051A #0D0D48 #16167C #2020B0

Accessibility & contrast

On white

17.98
#0D0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D48
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D48#FFFFFF#000000##FFFFFF
##0D0D481.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d0d48;
/* rgb */ color: rgb(13, 13, 72);
/* oklch */ color: oklch(21.3% 0.105 273.0);
Tailwind
colors: {
  custom: {
    50: '#574c7c',
    500: '#0d0d48',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d48;
$custom-light: #574c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d48",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 240,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2132,
    "c": 0.10525,
    "h": 273
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#0D0D48
secondary
#83832D
accent
#EC3CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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