#0D204A#0D204A

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

Color values

HEX#0D204A
RGBrgb(13, 32, 74)
HSLhsl(221, 70%, 17%)
HSVhsv(221, 82%, 29%)
CMYKcmyk(82.4%, 56.8%, 0%, 71%)
CIE-LABlab(13.31, 9.80, -28.38)
CIE-LCHlch(13.31, 30.02, 289.05°)
OKLaboklab(25.61% -0.0094 -0.0816)
OKLCHoklch(25.61% 0.082 263.4)
XYZxyz(1.9181, 1.6128, 6.6874)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D204A #4A370D
analogous
#0D3F4A #0D204A #180D4A
triadic
#0D204A #4A0D20 #204A0D
tetradic
#0D204A #4A0D3F #4A370D #0D4A18
square
#0D204A #4A0D3F #4A370D #0D4A18
split-complementary
#0D204A #4A180D #3F4A0D
monochromatic
#050B1A #050B1A #0D204A #16377E #1F4DB2

Accessibility & contrast

On white

15.88
#0D204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D204A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D204A#FFFFFF#000000##FFFFFF
##0D204A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06254C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d204a;
/* rgb */ color: rgb(13, 32, 74);
/* oklch */ color: oklch(25.6% 0.082 263.4);
Tailwind
colors: {
  custom: {
    50: '#565a7d',
    500: '#0d204a',
    950: '#000000',
  },
}
SCSS
$custom: #0d204a;
$custom-light: #565a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d204a",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 221.311,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.08217,
    "h": 263.4
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#0D204A
secondary
#856A2E
accent
#B53BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D204A

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

Preview Lab → · Contrast checker → · Palette generator →

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