#0D0A40#0D0A40

#0D0A40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.097 H 275.3°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#0D0A40
RGBrgb(13, 10, 64)
HSLhsl(243, 73%, 15%)
HSVhsv(243, 84%, 25%)
CMYKcmyk(79.7%, 84.4%, 0%, 74.9%)
CIE-LABlab(6.08, 21.26, -33.15)
CIE-LCHlch(6.08, 39.38, 302.67°)
OKLaboklab(19.83% 0.009 -0.0967)
OKLCHoklch(19.83% 0.097 275.3)
XYZxyz(1.1996, 0.6727, 4.9161)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0A40 #3D400A
analogous
#0A2240 #0D0A40 #280A40
triadic
#0D0A40 #400D0A #0A400D
tetradic
#0D0A40 #400A22 #3D400A #0A4028
square
#0D0A40 #400A22 #3D400A #0A4028
split-complementary
#0D0A40 #40280A #22400A
monochromatic
#05041A #05041A #0D0A40 #181275 #231BAA

Accessibility & contrast

On white

18.51
#0D0A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0D0A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0A40
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0A40#FFFFFF#000000##FFFFFF
##0D0A401.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0d0a40;
/* rgb */ color: rgb(13, 10, 64);
/* oklch */ color: oklch(19.8% 0.097 275.3);
Tailwind
colors: {
  custom: {
    50: '#554a75',
    500: '#0d0a40',
    950: '#000000',
  },
}
SCSS
$custom: #0d0a40;
$custom-light: #554a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0a40",
  "rgb": {
    "r": 13,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 243.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19826,
    "c": 0.09717,
    "h": 275.3
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#0D0A40
secondary
#797D29
accent
#F038E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0A40

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

Preview Lab → · Contrast checker → · Palette generator →

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