#0D1156#0D1156

#0D1156 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.7% C 0.120 H 270.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0D1156
RGBrgb(13, 17, 86)
HSLhsl(237, 74%, 19%)
HSVhsv(237, 85%, 34%)
CMYKcmyk(84.9%, 80.2%, 0%, 66.3%)
CIE-LABlab(10.24, 25.96, -41.61)
CIE-LCHlch(10.24, 49.04, 301.96°)
OKLaboklab(23.71% 0.0008 -0.1205)
OKLCHoklch(23.71% 0.121 270.4)
XYZxyz(2.0456, 1.1581, 8.9180)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1156 #56520D
analogous
#0D3656 #0D1156 #2E0D56
triadic
#0D1156 #560D11 #11560D
tetradic
#0D1156 #560D36 #56520D #0D562E
square
#0D1156 #560D36 #56520D #0D562E
split-complementary
#0D1156 #562E0D #36560D
monochromatic
#04051B #050621 #0D1156 #151C8B #1D26C0

Accessibility & contrast

On white

17.05
#0D1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D1156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1156
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1156#FFFFFF#000000##FFFFFF
##0D11561.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d1156;
/* rgb */ color: rgb(13, 17, 86);
/* oklch */ color: oklch(23.7% 0.120 270.4);
Tailwind
colors: {
  custom: {
    50: '#5b4f87',
    500: '#0d1156',
    950: '#000000',
  },
}
SCSS
$custom: #0d1156;
$custom-light: #5b4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1156",
  "rgb": {
    "r": 13,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 236.712,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23714,
    "c": 0.1205,
    "h": 270.4
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#0D1156
secondary
#918B2E
accent
#E637F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0D1156

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

Preview Lab → · Contrast checker → · Palette generator →

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