#0D1052#0D1052

#0D1052 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.116 H 271.0°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0D1052
RGBrgb(13, 16, 82)
HSLhsl(237, 73%, 19%)
HSVhsv(237, 84%, 32%)
CMYKcmyk(84.1%, 80.5%, 0%, 67.8%)
CIE-LABlab(9.52, 25.06, -40.07)
CIE-LCHlch(9.52, 47.26, 302.02°)
OKLaboklab(23.06% 0.0019 -0.116)
OKLCHoklch(23.06% 0.116 271)
XYZxyz(1.8737, 1.0651, 8.0878)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1052 #524F0D
analogous
#0D3252 #0D1052 #2C0D52
triadic
#0D1052 #520D10 #10520D
tetradic
#0D1052 #520D32 #524F0D #0D522C
square
#0D1052 #520D32 #524F0D #0D522C
split-complementary
#0D1052 #522C0D #32520D
monochromatic
#04051A #05061D #0D1052 #151A87 #1E25BC

Accessibility & contrast

On white

17.31
#0D1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1052
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1052#FFFFFF#000000##FFFFFF
##0D10521.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001751
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1052;
/* rgb */ color: rgb(13, 16, 82);
/* oklch */ color: oklch(23.1% 0.116 271.0);
Tailwind
colors: {
  custom: {
    50: '#5a4f83',
    500: '#0d1052',
    950: '#000000',
  },
}
SCSS
$custom: #0d1052;
$custom-light: #5a4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1052",
  "rgb": {
    "r": 13,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 237.391,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23056,
    "c": 0.11604,
    "h": 271
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#0D1052
secondary
#8D892E
accent
#E738EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1052

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

Preview Lab → · Contrast checker → · Palette generator →

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