#0D0D45#0D0D45

#0D0D45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.101 H 273.4°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0D0D45
RGBrgb(13, 13, 69)
HSLhsl(240, 68%, 16%)
HSVhsv(240, 81%, 27%)
CMYKcmyk(81.2%, 81.2%, 0%, 72.9%)
CIE-LABlab(7.25, 21.86, -34.78)
CIE-LCHlch(7.25, 41.08, 302.16°)
OKLaboklab(20.95% 0.006 -0.1007)
OKLCHoklch(20.95% 0.101 273.4)
XYZxyz(1.3837, 0.8029, 5.7111)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D45 #45450D
analogous
#0D2945 #0D0D45 #290D45
triadic
#0D0D45 #450D0D #0D450D
tetradic
#0D0D45 #450D29 #45450D #0D4529
square
#0D0D45 #450D29 #45450D #0D4529
split-complementary
#0D0D45 #45290D #29450D
monochromatic
#05051A #05051A #0D0D45 #171778 #2020AC

Accessibility & contrast

On white

18.09
#0D0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0D45
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D45#FFFFFF#000000##FFFFFF
##0D0D451.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001344
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0d45;
/* rgb */ color: rgb(13, 13, 69);
/* oklch */ color: oklch(21.0% 0.101 273.4);
Tailwind
colors: {
  custom: {
    50: '#564c79',
    500: '#0d0d45',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d45;
$custom-light: #564c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d45",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20953,
    "c": 0.10089,
    "h": 273.4
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#0D0D45
secondary
#80802D
accent
#EB3DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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