#0D1E56#0D1E56

#0D1E56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.104 H 266.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#0D1E56
RGBrgb(13, 30, 86)
HSLhsl(226, 74%, 19%)
HSVhsv(226, 85%, 34%)
CMYKcmyk(84.9%, 65.1%, 0%, 66.3%)
CIE-LABlab(13.74, 16.62, -35.86)
CIE-LCHlch(13.74, 39.52, 294.86°)
OKLaboklab(26.27% -0.0069 -0.1036)
OKLCHoklch(26.27% 0.104 266.2)
XYZxyz(2.3094, 1.6857, 9.0060)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E56 #56450D
analogous
#0D4356 #0D1E56 #200D56
triadic
#0D1E56 #560D1E #1E560D
tetradic
#0D1E56 #560D43 #56450D #0D5620
square
#0D1E56 #560D43 #56450D #0D5620
split-complementary
#0D1E56 #56200D #43560D
monochromatic
#04091B #050B21 #0D1E56 #15318B #1D43C0

Accessibility & contrast

On white

15.70
#0D1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1E56
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E56#FFFFFF#000000##FFFFFF
##0D1E561.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d1e56;
/* rgb */ color: rgb(13, 30, 86);
/* oklch */ color: oklch(26.3% 0.104 266.2);
Tailwind
colors: {
  custom: {
    50: '#5a5986',
    500: '#0d1e56',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e56;
$custom-light: #5a5986;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e56",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 226.027,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26267,
    "c": 0.10388,
    "h": 266.2
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#0D1E56
secondary
#917A2E
accent
#C537F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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