#0D2048#0D2048

#0D2048 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.079 H 262.9°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0D2048
RGBrgb(13, 32, 72)
HSLhsl(221, 69%, 17%)
HSVhsv(221, 82%, 28%)
CMYKcmyk(81.9%, 55.6%, 0%, 71.8%)
CIE-LABlab(13.15, 8.91, -27.26)
CIE-LCHlch(13.15, 28.68, 288.10°)
OKLaboklab(25.43% -0.0097 -0.0783)
OKLCHoklch(25.43% 0.079 262.9)
XYZxyz(1.8518, 1.5863, 6.3382)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2048 #48350D
analogous
#0D3E48 #0D2048 #180D48
triadic
#0D2048 #480D20 #20480D
tetradic
#0D2048 #480D3E #48350D #0D4818
square
#0D2048 #480D3E #48350D #0D4818
split-complementary
#0D2048 #48180D #3E480D
monochromatic
#050C1A #050C1A #0D2048 #16377C #204EB0

Accessibility & contrast

On white

15.94
#0D2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2048
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2048#FFFFFF#000000##FFFFFF
##0D20481.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082549
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2048;
/* rgb */ color: rgb(13, 32, 72);
/* oklch */ color: oklch(25.4% 0.079 262.9);
Tailwind
colors: {
  custom: {
    50: '#555a7b',
    500: '#0d2048',
    950: '#000000',
  },
}
SCSS
$custom: #0d2048;
$custom-light: #555a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2048",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 220.678,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25431,
    "c": 0.07893,
    "h": 262.9
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#0D2048
secondary
#83682D
accent
#B33CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D2048

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

Preview Lab → · Contrast checker → · Palette generator →

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