#0D224B#0D224B

#0D224B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.081 H 262.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#0D224B
RGBrgb(13, 34, 75)
HSLhsl(220, 70%, 17%)
HSVhsv(220, 83%, 29%)
CMYKcmyk(82.7%, 54.7%, 0%, 70.6%)
CIE-LABlab(14.04, 8.71, -27.88)
CIE-LCHlch(14.04, 29.21, 287.36°)
OKLaboklab(26.19% -0.0112 -0.0801)
OKLCHoklch(26.19% 0.081 262)
XYZxyz(2.0076, 1.7374, 6.8848)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D224B #4B360D
analogous
#0D414B #0D224B #170D4B
triadic
#0D224B #4B0D22 #224B0D
tetradic
#0D224B #4B0D41 #4B360D #0D4B17
square
#0D224B #4B0D41 #4B360D #0D4B17
split-complementary
#0D224B #4B170D #414B0D
monochromatic
#050C1A #050C1A #0D224B #163A7F #1F51B3

Accessibility & contrast

On white

15.58
#0D224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D224B
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D224B#FFFFFF#000000##FFFFFF
##0D224B1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274C
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d224b;
/* rgb */ color: rgb(13, 34, 75);
/* oklch */ color: oklch(26.2% 0.081 262.0);
Tailwind
colors: {
  custom: {
    50: '#565c7e',
    500: '#0d224b',
    950: '#000000',
  },
}
SCSS
$custom: #0d224b;
$custom-light: #565c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d224b",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 219.677,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26193,
    "c": 0.08089,
    "h": 262
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#0D224B
secondary
#86682E
accent
#B13BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D224B

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

Preview Lab → · Contrast checker → · Palette generator →

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