#0D224E#0D224E

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

Color values

HEX#0D224E
RGBrgb(13, 34, 78)
HSLhsl(221, 71%, 18%)
HSVhsv(221, 83%, 31%)
CMYKcmyk(83.3%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.28, 10.05, -29.55)
CIE-LCHlch(14.28, 31.21, 288.78°)
OKLaboklab(26.45% -0.0108 -0.085)
OKLCHoklch(26.45% 0.086 262.8)
XYZxyz(2.1127, 1.7794, 7.4384)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D224E #4E390D
analogous
#0D434E #0D224E #180D4E
triadic
#0D224E #4E0D22 #224E0D
tetradic
#0D224E #4E0D43 #4E390D #0D4E18
square
#0D224E #4E0D43 #4E390D #0D4E18
split-complementary
#0D224E #4E180D #434E0D
monochromatic
#040B1A #040B1A #0D224E #163982 #1E50B7

Accessibility & contrast

On white

15.49
#0D224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D224E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D224E#FFFFFF#000000##FFFFFF
##0D224E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d224e;
/* rgb */ color: rgb(13, 34, 78);
/* oklch */ color: oklch(26.5% 0.086 262.8);
Tailwind
colors: {
  custom: {
    50: '#575c80',
    500: '#0d224e',
    950: '#000000',
  },
}
SCSS
$custom: #0d224e;
$custom-light: #575c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d224e",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 220.615,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26453,
    "c": 0.0857,
    "h": 262.8
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#0D224E
secondary
#896C2E
accent
#B43AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D224E

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

Preview Lab → · Contrast checker → · Palette generator →

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