#0D0A2A#0D0A2A

#0D0A2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.063 H 281.9°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#0D0A2A
RGBrgb(13, 10, 42)
HSLhsl(246, 62%, 10%)
HSVhsv(246, 76%, 16%)
CMYKcmyk(69%, 76.2%, 0%, 83.5%)
CIE-LABlab(4.24, 10.07, -19.93)
CIE-LCHlch(4.24, 22.33, 296.80°)
OKLaboklab(17.29% 0.0129 -0.0613)
OKLCHoklch(17.29% 0.063 281.9)
XYZxyz(0.6923, 0.4698, 2.2442)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0A2A #272A0A
analogous
#0A172A #0D0A2A #1D0A2A
triadic
#0D0A2A #2A0D0A #0A2A0D
tetradic
#0D0A2A #2A0A17 #272A0A #0A2A1D
square
#0D0A2A #2A0A17 #272A0A #0A2A1D
split-complementary
#0D0A2A #2A1D0A #172A0A
monochromatic
#080619 #080619 #0D0A2A #1C165B #2C228D

Accessibility & contrast

On white

19.20
#0D0A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D0A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0A2A
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0A2A#FFFFFF#000000##FFFFFF
##0D0A2A1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#021218
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d0a2a;
/* rgb */ color: rgb(13, 10, 42);
/* oklch */ color: oklch(17.3% 0.063 281.9);
Tailwind
colors: {
  custom: {
    50: '#4e4b63',
    500: '#0d0a2a',
    950: '#000000',
  },
}
SCSS
$custom: #0d0a2a;
$custom-light: #4e4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0a2a",
  "rgb": {
    "r": 13,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 245.625,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17295,
    "c": 0.0626,
    "h": 281.9
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#0D0A2A
secondary
#616729
accent
#E543D5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0D0A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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