#0D1C56#0D1C56

#0D1C56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.107 H 267.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0D1C56
RGBrgb(13, 28, 86)
HSLhsl(228, 74%, 19%)
HSVhsv(228, 85%, 34%)
CMYKcmyk(84.9%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.16, 18.12, -36.82)
CIE-LCHlch(13.16, 41.04, 296.20°)
OKLaboklab(25.83% -0.0054 -0.1065)
OKLCHoklch(25.83% 0.107 267.1)
XYZxyz(2.2604, 1.5877, 8.9896)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C56 #56470D
analogous
#0D4156 #0D1C56 #230D56
triadic
#0D1C56 #560D1C #1C560D
tetradic
#0D1C56 #560D41 #56470D #0D5623
square
#0D1C56 #560D41 #56470D #0D5623
split-complementary
#0D1C56 #56230D #41560D
monochromatic
#04091B #050B21 #0D1C56 #152D8B #1D3FC0

Accessibility & contrast

On white

15.94
#0D1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D1C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C56
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C56#FFFFFF#000000##FFFFFF
##0D1C561.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1c56;
/* rgb */ color: rgb(13, 28, 86);
/* oklch */ color: oklch(25.8% 0.107 267.1);
Tailwind
colors: {
  custom: {
    50: '#5a5786',
    500: '#0d1c56',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c56;
$custom-light: #5a5786;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c56",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 227.671,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2583,
    "c": 0.10664,
    "h": 267.1
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#0D1C56
secondary
#917C2E
accent
#CA37F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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