#0D1352#0D1352

#0D1352 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.112 H 270.2°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#0D1352
RGBrgb(13, 19, 82)
HSLhsl(235, 73%, 19%)
HSVhsv(235, 84%, 32%)
CMYKcmyk(84.1%, 76.8%, 0%, 67.8%)
CIE-LABlab(10.26, 23.01, -38.85)
CIE-LCHlch(10.26, 45.15, 300.64°)
OKLaboklab(23.59% 0.0004 -0.1125)
OKLCHoklch(23.59% 0.112 270.2)
XYZxyz(1.9213, 1.1603, 8.1037)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1352 #524C0D
analogous
#0D3552 #0D1352 #290D52
triadic
#0D1352 #520D13 #13520D
tetradic
#0D1352 #520D35 #524C0D #0D5229
square
#0D1352 #520D35 #524C0D #0D5229
split-complementary
#0D1352 #52290D #35520D
monochromatic
#04061A #05071D #0D1352 #151F87 #1E2BBC

Accessibility & contrast

On white

17.04
#0D1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1352
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1352#FFFFFF#000000##FFFFFF
##0D13521.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1352;
/* rgb */ color: rgb(13, 19, 82);
/* oklch */ color: oklch(23.6% 0.112 270.2);
Tailwind
colors: {
  custom: {
    50: '#5a5183',
    500: '#0d1352',
    950: '#000000',
  },
}
SCSS
$custom: #0d1352;
$custom-light: #5a5183;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1352",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 234.783,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23585,
    "c": 0.11249,
    "h": 270.2
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#0D1352
secondary
#8D852E
accent
#DF38EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1352

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

Preview Lab → · Contrast checker → · Palette generator →

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