#0D0340#0D0340

#0D0340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.106 H 277.4°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#0D0340
RGBrgb(13, 3, 64)
HSLhsl(250, 91%, 13%)
HSVhsv(250, 95%, 25%)
CMYKcmyk(79.7%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.70, 24.66, -35.40)
CIE-LCHlch(4.70, 43.14, 304.87°)
OKLaboklab(18.58% 0.0136 -0.1052)
OKLCHoklch(18.58% 0.106 277.4)
XYZxyz(1.1237, 0.5208, 4.8908)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0340 #364003
analogous
#031740 #0D0340 #2B0340
triadic
#0D0340 #400D03 #03400D
tetradic
#0D0340 #400317 #364003 #03402B
square
#0D0340 #400317 #364003 #03402B
split-complementary
#0D0340 #402B03 #174003
monochromatic
#06011D #06011D #0D0340 #19067A #2508B5

Accessibility & contrast

On white

19.02
#0D0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D0340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0340
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0340#FFFFFF#000000##FFFFFF
##0D03401.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000D3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d0340;
/* rgb */ color: rgb(13, 3, 64);
/* oklch */ color: oklch(18.6% 0.106 277.4);
Tailwind
colors: {
  custom: {
    50: '#554676',
    500: '#0d0340',
    950: '#000000',
  },
}
SCSS
$custom: #0d0340;
$custom-light: #554676;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0340",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 249.836,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18582,
    "c": 0.10608,
    "h": 277.4
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#0D0340
secondary
#71821D
accent
#FF29DC
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D0340

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

Preview Lab → · Contrast checker → · Palette generator →

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