#0D1452#0D1452

#0D1452 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.111 H 269.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#0D1452
RGBrgb(13, 20, 82)
HSLhsl(234, 73%, 19%)
HSVhsv(234, 84%, 32%)
CMYKcmyk(84.1%, 75.6%, 0%, 67.8%)
CIE-LABlab(10.52, 22.30, -38.42)
CIE-LCHlch(10.52, 44.43, 300.13°)
OKLaboklab(23.77% -0.0002 -0.1112)
OKLCHoklch(23.77% 0.111 269.9)
XYZxyz(1.9386, 1.1949, 8.1095)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1452 #524B0D
analogous
#0D3652 #0D1452 #280D52
triadic
#0D1452 #520D14 #14520D
tetradic
#0D1452 #520D36 #524B0D #0D5228
square
#0D1452 #520D36 #524B0D #0D5228
split-complementary
#0D1452 #52280D #36520D
monochromatic
#04061A #05071D #0D1452 #152187 #1E2EBC

Accessibility & contrast

On white

16.95
#0D1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0D1452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1452
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1452#FFFFFF#000000##FFFFFF
##0D14521.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1452;
/* rgb */ color: rgb(13, 20, 82);
/* oklch */ color: oklch(23.8% 0.111 269.9);
Tailwind
colors: {
  custom: {
    50: '#5a5183',
    500: '#0d1452',
    950: '#000000',
  },
}
SCSS
$custom: #0d1452;
$custom-light: #5a5183;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1452",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 233.913,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23771,
    "c": 0.11125,
    "h": 269.9
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#0D1452
secondary
#8D832E
accent
#DD38EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1452

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

Preview Lab → · Contrast checker → · Palette generator →

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