#0D2247#0D2247

#0D2247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.074 H 260.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#0D2247
RGBrgb(13, 34, 71)
HSLhsl(218, 69%, 16%)
HSVhsv(218, 82%, 28%)
CMYKcmyk(81.7%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.73, 6.93, -25.62)
CIE-LCHlch(13.73, 26.54, 285.14°)
OKLaboklab(25.86% -0.0119 -0.0735)
OKLCHoklch(25.86% 0.074 260.8)
XYZxyz(1.8749, 1.6843, 6.1863)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2247 #47320D
analogous
#0D3F47 #0D2247 #150D47
triadic
#0D2247 #470D22 #22470D
tetradic
#0D2247 #470D3F #47320D #0D4715
square
#0D2247 #470D3F #47320D #0D4715
split-complementary
#0D2247 #47150D #3F470D
monochromatic
#050C1A #050C1A #0D2247 #163B7B #2054AE

Accessibility & contrast

On white

15.71
#0D2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2247
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2247#FFFFFF#000000##FFFFFF
##0D22471.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2648
Deuteranopia (green-blind)
#032146
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d2247;
/* rgb */ color: rgb(13, 34, 71);
/* oklch */ color: oklch(25.9% 0.074 260.8);
Tailwind
colors: {
  custom: {
    50: '#555c7a',
    500: '#0d2247',
    950: '#000000',
  },
}
SCSS
$custom: #0d2247;
$custom-light: #555c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2247",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 218.276,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25857,
    "c": 0.07443,
    "h": 260.8
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#0D2247
secondary
#82642D
accent
#AC3CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0D2247

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

Preview Lab → · Contrast checker → · Palette generator →

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