#0D1152#0D1152

#0D1152 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.115 H 270.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0D1152
RGBrgb(13, 17, 82)
HSLhsl(237, 73%, 19%)
HSVhsv(237, 84%, 32%)
CMYKcmyk(84.1%, 79.3%, 0%, 67.8%)
CIE-LABlab(9.76, 24.39, -39.67)
CIE-LCHlch(9.76, 46.57, 301.58°)
OKLaboklab(23.23% 0.0014 -0.1149)
OKLCHoklch(23.23% 0.115 270.7)
XYZxyz(1.8889, 1.0955, 8.0929)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1152 #524E0D
analogous
#0D3352 #0D1152 #2B0D52
triadic
#0D1152 #520D11 #11520D
tetradic
#0D1152 #520D33 #524E0D #0D522B
square
#0D1152 #520D33 #524E0D #0D522B
split-complementary
#0D1152 #522B0D #33520D
monochromatic
#04051A #05061D #0D1152 #151C87 #1E27BC

Accessibility & contrast

On white

17.22
#0D1152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D1152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1152
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1152#FFFFFF#000000##FFFFFF
##0D11521.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1152;
/* rgb */ color: rgb(13, 17, 82);
/* oklch */ color: oklch(23.2% 0.115 270.7);
Tailwind
colors: {
  custom: {
    50: '#5a4f83',
    500: '#0d1152',
    950: '#000000',
  },
}
SCSS
$custom: #0d1152;
$custom-light: #5a4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1152",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 236.522,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23227,
    "c": 0.11488,
    "h": 270.7
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#0D1152
secondary
#8D872E
accent
#E538EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1152

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

Preview Lab → · Contrast checker → · Palette generator →

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