#0D1D56#0D1D56

#0D1D56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.105 H 266.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0D1D56
RGBrgb(13, 29, 86)
HSLhsl(227, 74%, 19%)
HSVhsv(227, 85%, 34%)
CMYKcmyk(84.9%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.45, 17.37, -36.34)
CIE-LCHlch(13.45, 40.28, 295.54°)
OKLaboklab(26.05% -0.0061 -0.1051)
OKLCHoklch(26.05% 0.105 266.7)
XYZxyz(2.2845, 1.6359, 8.9977)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1D56 #56460D
analogous
#0D4256 #0D1D56 #220D56
triadic
#0D1D56 #560D1D #1D560D
tetradic
#0D1D56 #560D42 #56460D #0D5622
square
#0D1D56 #560D42 #56460D #0D5622
split-complementary
#0D1D56 #56220D #42560D
monochromatic
#04091B #050B21 #0D1D56 #152F8B #1D41C0

Accessibility & contrast

On white

15.82
#0D1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1D56
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1D56#FFFFFF#000000##FFFFFF
##0D1D561.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1d56;
/* rgb */ color: rgb(13, 29, 86);
/* oklch */ color: oklch(26.0% 0.105 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5886',
    500: '#0d1d56',
    950: '#000000',
  },
}
SCSS
$custom: #0d1d56;
$custom-light: #5a5886;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1d56",
  "rgb": {
    "r": 13,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 226.849,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26046,
    "c": 0.10526,
    "h": 266.7
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#0D1D56
secondary
#917B2E
accent
#C837F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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