#0D1948#0D1948

#0D1948 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.089 H 267.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#0D1948
RGBrgb(13, 25, 72)
HSLhsl(228, 69%, 17%)
HSVhsv(228, 82%, 28%)
CMYKcmyk(81.9%, 65.3%, 0%, 71.8%)
CIE-LABlab(10.91, 14.33, -30.88)
CIE-LCHlch(10.91, 34.04, 294.89°)
OKLaboklab(23.74% -0.0032 -0.0891)
OKLCHoklch(23.74% 0.089 267.9)
XYZxyz(1.6829, 1.2485, 6.2819)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1948 #483C0D
analogous
#0D3748 #0D1948 #1F0D48
triadic
#0D1948 #480D19 #19480D
tetradic
#0D1948 #480D37 #483C0D #0D481F
square
#0D1948 #480D37 #483C0D #0D481F
split-complementary
#0D1948 #481F0D #37480D
monochromatic
#05091A #05091A #0D1948 #162B7C #203DB0

Accessibility & contrast

On white

16.80
#0D1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1948
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1948#FFFFFF#000000##FFFFFF
##0D19481.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1948;
/* rgb */ color: rgb(13, 25, 72);
/* oklch */ color: oklch(23.7% 0.089 267.9);
Tailwind
colors: {
  custom: {
    50: '#56557b',
    500: '#0d1948',
    950: '#000000',
  },
}
SCSS
$custom: #0d1948;
$custom-light: #56557b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1948",
  "rgb": {
    "r": 13,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 227.797,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23743,
    "c": 0.08919,
    "h": 267.9
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#0D1948
secondary
#83722D
accent
#C83CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1948

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

Preview Lab → · Contrast checker → · Palette generator →

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