#0D2147#0D2147

#0D2147 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.076 H 261.7°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#0D2147
RGBrgb(13, 33, 71)
HSLhsl(219, 69%, 16%)
HSVhsv(219, 82%, 28%)
CMYKcmyk(81.7%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.40, 7.70, -26.16)
CIE-LCHlch(13.40, 27.27, 286.40°)
OKLaboklab(25.6% -0.0109 -0.0751)
OKLCHoklch(25.6% 0.076 261.7)
XYZxyz(1.8468, 1.6280, 6.1769)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2147 #47330D
analogous
#0D3E47 #0D2147 #160D47
triadic
#0D2147 #470D21 #21470D
tetradic
#0D2147 #470D3E #47330D #0D4716
square
#0D2147 #470D3E #47330D #0D4716
split-complementary
#0D2147 #47160D #3E470D
monochromatic
#050C1A #050C1A #0D2147 #16397B #2051AE

Accessibility & contrast

On white

15.84
#0D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2147
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2147#FFFFFF#000000##FFFFFF
##0D21471.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d2147;
/* rgb */ color: rgb(13, 33, 71);
/* oklch */ color: oklch(25.6% 0.076 261.7);
Tailwind
colors: {
  custom: {
    50: '#555b7a',
    500: '#0d2147',
    950: '#000000',
  },
}
SCSS
$custom: #0d2147;
$custom-light: #555b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2147",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 219.31,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.256,
    "c": 0.07586,
    "h": 261.7
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#0D2147
secondary
#82652D
accent
#AF3CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2147

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

Preview Lab → · Contrast checker → · Palette generator →

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