#0D1848#0D1848

#0D1848 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.091 H 268.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#0D1848
RGBrgb(13, 24, 72)
HSLhsl(229, 69%, 17%)
HSVhsv(229, 82%, 28%)
CMYKcmyk(81.9%, 66.7%, 0%, 71.8%)
CIE-LABlab(10.61, 15.10, -31.38)
CIE-LCHlch(10.61, 34.82, 295.69°)
OKLaboklab(23.52% -0.0024 -0.0906)
OKLCHoklch(23.52% 0.091 268.5)
XYZxyz(1.6619, 1.2065, 6.2749)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1848 #483D0D
analogous
#0D3648 #0D1848 #200D48
triadic
#0D1848 #480D18 #18480D
tetradic
#0D1848 #480D36 #483D0D #0D4820
square
#0D1848 #480D36 #483D0D #0D4820
split-complementary
#0D1848 #48200D #36480D
monochromatic
#05091A #05091A #0D1848 #16297C #203BB0

Accessibility & contrast

On white

16.92
#0D1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1848
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1848#FFFFFF#000000##FFFFFF
##0D18481.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1848;
/* rgb */ color: rgb(13, 24, 72);
/* oklch */ color: oklch(23.5% 0.091 268.5);
Tailwind
colors: {
  custom: {
    50: '#56547b',
    500: '#0d1848',
    950: '#000000',
  },
}
SCSS
$custom: #0d1848;
$custom-light: #56547b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1848",
  "rgb": {
    "r": 13,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 228.814,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23515,
    "c": 0.09063,
    "h": 268.5
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#0D1848
secondary
#83732D
accent
#CB3CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0D1848

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

Preview Lab → · Contrast checker → · Palette generator →

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