#0D1756#0D1756

#0D1756 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.113 H 268.8°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#0D1756
RGBrgb(13, 23, 86)
HSLhsl(232, 74%, 19%)
HSVhsv(232, 85%, 34%)
CMYKcmyk(84.9%, 73.3%, 0%, 66.3%)
CIE-LABlab(11.76, 21.80, -39.11)
CIE-LCHlch(11.76, 44.78, 299.13°)
OKLaboklab(24.8% -0.0023 -0.1132)
OKLCHoklch(24.8% 0.113 268.8)
XYZxyz(2.1515, 1.3700, 8.9533)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1756 #564C0D
analogous
#0D3C56 #0D1756 #280D56
triadic
#0D1756 #560D17 #17560D
tetradic
#0D1756 #560D3C #564C0D #0D5628
square
#0D1756 #560D3C #564C0D #0D5628
split-complementary
#0D1756 #56280D #3C560D
monochromatic
#04071B #050921 #0D1756 #15258B #1D33C0

Accessibility & contrast

On white

16.48
#0D1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0D1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1756
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1756#FFFFFF#000000##FFFFFF
##0D17561.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0d1756;
/* rgb */ color: rgb(13, 23, 86);
/* oklch */ color: oklch(24.8% 0.113 268.8);
Tailwind
colors: {
  custom: {
    50: '#5b5486',
    500: '#0d1756',
    950: '#000000',
  },
}
SCSS
$custom: #0d1756;
$custom-light: #5b5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1756",
  "rgb": {
    "r": 13,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 231.781,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24803,
    "c": 0.11327,
    "h": 268.8
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#0D1756
secondary
#91832E
accent
#D737F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0D1756

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

Preview Lab → · Contrast checker → · Palette generator →

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