#0D224C#0D224C

#0D224C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.082 H 262.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0D224C
RGBrgb(13, 34, 76)
HSLhsl(220, 71%, 17%)
HSVhsv(220, 83%, 30%)
CMYKcmyk(82.9%, 55.3%, 0%, 70.2%)
CIE-LABlab(14.12, 9.16, -28.44)
CIE-LCHlch(14.12, 29.87, 287.85°)
OKLaboklab(26.28% -0.0111 -0.0817)
OKLCHoklch(26.28% 0.082 262.3)
XYZxyz(2.0420, 1.7512, 7.0665)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D224C #4C370D
analogous
#0D424C #0D224C #170D4C
triadic
#0D224C #4C0D22 #224C0D
tetradic
#0D224C #4C0D42 #4C370D #0D4C17
square
#0D224C #4C0D42 #4C370D #0D4C17
split-complementary
#0D224C #4C170D #424C0D
monochromatic
#040C1A #040C1A #0D224C #163980 #1F51B5

Accessibility & contrast

On white

15.55
#0D224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0D224C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D224C
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D224C#FFFFFF#000000##FFFFFF
##0D224C1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09274E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d224c;
/* rgb */ color: rgb(13, 34, 76);
/* oklch */ color: oklch(26.3% 0.082 262.3);
Tailwind
colors: {
  custom: {
    50: '#565c7e',
    500: '#0d224c',
    950: '#000000',
  },
}
SCSS
$custom: #0d224c;
$custom-light: #565c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d224c",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 220,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26279,
    "c": 0.08249,
    "h": 262.3
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#0D224C
secondary
#87692E
accent
#B23AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D224C

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

Preview Lab → · Contrast checker → · Palette generator →

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