#0D224F#0D224F

#0D224F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.087 H 263.0°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#0D224F
RGBrgb(13, 34, 79)
HSLhsl(221, 72%, 18%)
HSVhsv(221, 84%, 31%)
CMYKcmyk(83.5%, 57%, 0%, 69%)
CIE-LABlab(14.37, 10.49, -30.09)
CIE-LCHlch(14.37, 31.87, 289.22°)
OKLaboklab(26.54% -0.0106 -0.0866)
OKLCHoklch(26.54% 0.087 263)
XYZxyz(2.1488, 1.7939, 7.6286)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D224F #4F3A0D
analogous
#0D434F #0D224F #190D4F
triadic
#0D224F #4F0D22 #224F0D
tetradic
#0D224F #4F0D43 #4F3A0D #0D4F19
square
#0D224F #4F0D43 #4F3A0D #0D4F19
split-complementary
#0D224F #4F190D #434F0D
monochromatic
#040B1A #040B1A #0D224F #163984 #1E4FB8

Accessibility & contrast

On white

15.45
#0D224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0D224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D224F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D224F#FFFFFF#000000##FFFFFF
##0D224F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d224f;
/* rgb */ color: rgb(13, 34, 79);
/* oklch */ color: oklch(26.5% 0.087 263.0);
Tailwind
colors: {
  custom: {
    50: '#575c81',
    500: '#0d224f',
    950: '#000000',
  },
}
SCSS
$custom: #0d224f;
$custom-light: #575c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d224f",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 220.909,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26541,
    "c": 0.08728,
    "h": 263
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#0D224F
secondary
#8A6D2E
accent
#B539EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D224F

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

Preview Lab → · Contrast checker → · Palette generator →

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