#0D224A#0D224A

#0D224A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.079 H 261.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#0D224A
RGBrgb(13, 34, 74)
HSLhsl(219, 70%, 17%)
HSVhsv(219, 82%, 29%)
CMYKcmyk(82.4%, 54.1%, 0%, 71%)
CIE-LABlab(13.97, 8.27, -27.32)
CIE-LCHlch(13.97, 28.54, 286.84°)
OKLaboklab(26.11% -0.0114 -0.0785)
OKLCHoklch(26.11% 0.079 261.8)
XYZxyz(1.9736, 1.7238, 6.7060)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D224A #4A350D
analogous
#0D414A #0D224A #160D4A
triadic
#0D224A #4A0D22 #224A0D
tetradic
#0D224A #4A0D41 #4A350D #0D4A16
square
#0D224A #4A0D41 #4A350D #0D4A16
split-complementary
#0D224A #4A160D #414A0D
monochromatic
#050C1A #050C1A #0D224A #163A7E #1F52B2

Accessibility & contrast

On white

15.62
#0D224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D224A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D224A#FFFFFF#000000##FFFFFF
##0D224A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274B
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d224a;
/* rgb */ color: rgb(13, 34, 74);
/* oklch */ color: oklch(26.1% 0.079 261.8);
Tailwind
colors: {
  custom: {
    50: '#565c7d',
    500: '#0d224a',
    950: '#000000',
  },
}
SCSS
$custom: #0d224a;
$custom-light: #565c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d224a",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 219.344,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26108,
    "c": 0.07928,
    "h": 261.8
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#0D224A
secondary
#85672E
accent
#B03BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D224A

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

Preview Lab → · Contrast checker → · Palette generator →

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