#0D0D3D#0D0D3D

#0D0D3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.089 H 274.8°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#0D0D3D
RGBrgb(13, 13, 61)
HSLhsl(240, 65%, 15%)
HSVhsv(240, 79%, 24%)
CMYKcmyk(78.7%, 78.7%, 0%, 76.1%)
CIE-LABlab(6.42, 18.23, -30.45)
CIE-LCHlch(6.42, 35.49, 300.91°)
OKLaboklab(20.01% 0.0075 -0.0886)
OKLCHoklch(20.01% 0.089 274.8)
XYZxyz(1.1519, 0.7102, 4.4904)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D3D #3D3D0D
analogous
#0D253D #0D0D3D #250D3D
triadic
#0D0D3D #3D0D0D #0D3D0D
tetradic
#0D0D3D #3D0D25 #3D3D0D #0D3D25
square
#0D0D3D #3D0D25 #3D3D0D #0D3D25
split-complementary
#0D0D3D #3D250D #253D0D
monochromatic
#050519 #050519 #0D0D3D #18186F #2323A2

Accessibility & contrast

On white

18.39
#0D0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D3D
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D3D#FFFFFF#000000##FFFFFF
##0D0D3D1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0d3d;
/* rgb */ color: rgb(13, 13, 61);
/* oklch */ color: oklch(20.0% 0.089 274.8);
Tailwind
colors: {
  custom: {
    50: '#544c73',
    500: '#0d0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d3d;
$custom-light: #544c73;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d3d",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 240,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20005,
    "c": 0.08887,
    "h": 274.8
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#0D0D3D
secondary
#79792D
accent
#E840E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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