#0D0D30#0D0D30

#0D0D30 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.068 H 277.5°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#0D0D30
RGBrgb(13, 13, 48)
HSLhsl(240, 57%, 12%)
HSVhsv(240, 73%, 19%)
CMYKcmyk(72.9%, 72.9%, 0%, 81.2%)
CIE-LABlab(5.30, 11.70, -22.76)
CIE-LCHlch(5.30, 25.59, 297.20°)
OKLaboklab(18.58% 0.0089 -0.0673)
OKLCHoklch(18.58% 0.068 277.5)
XYZxyz(0.8432, 0.5867, 2.8646)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0D30 #30300D
analogous
#0D1F30 #0D0D30 #1F0D30
triadic
#0D0D30 #300D0D #0D300D
tetradic
#0D0D30 #300D1F #30300D #0D301F
square
#0D0D30 #300D1F #30300D #0D301F
split-complementary
#0D0D30 #301F0D #1F300D
monochromatic
#070718 #070718 #0D0D30 #1A1A60 #272790

Accessibility & contrast

On white

18.79
#0D0D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0D0D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0D30
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0D30#FFFFFF#000000##FFFFFF
##0D0D301.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0d0d30;
/* rgb */ color: rgb(13, 13, 48);
/* oklch */ color: oklch(18.6% 0.068 277.5);
Tailwind
colors: {
  custom: {
    50: '#4f4c68',
    500: '#0d0d30',
    950: '#000000',
  },
}
SCSS
$custom: #0d0d30;
$custom-light: #4f4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0d30",
  "rgb": {
    "r": 13,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18578,
    "c": 0.0679,
    "h": 277.5
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#0D0D30
secondary
#6B6B2E
accent
#E147E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0D0D30

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

Preview Lab → · Contrast checker → · Palette generator →

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