#0D0C55#0D0C55

#0D0C55 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.8% C 0.124 H 271.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#0D0C55
RGBrgb(13, 12, 85)
HSLhsl(241, 75%, 19%)
HSVhsv(241, 86%, 33%)
CMYKcmyk(84.7%, 85.9%, 0%, 66.7%)
CIE-LABlab(9.03, 28.69, -42.94)
CIE-LCHlch(9.03, 51.65, 303.75°)
OKLaboklab(22.82% 0.0029 -0.1243)
OKLCHoklch(22.82% 0.124 271.3)
XYZxyz(1.9366, 1.0042, 8.6843)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C55 #54550C
analogous
#0C3055 #0D0C55 #320C55
triadic
#0D0C55 #550D0C #0C550D
tetradic
#0D0C55 #550C30 #54550C #0C5532
square
#0D0C55 #550C30 #54550C #0C5532
split-complementary
#0D0C55 #55320C #30550C
monochromatic
#04041B #05041F #0D0C55 #15148B #1D1BC0

Accessibility & contrast

On white

17.49
#0D0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0D0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C55
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C55#FFFFFF#000000##FFFFFF
##0D0C551.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D57
Deuteranopia (green-blind)
#001654
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d0c55;
/* rgb */ color: rgb(13, 12, 85);
/* oklch */ color: oklch(22.8% 0.124 271.3);
Tailwind
colors: {
  custom: {
    50: '#5c4c86',
    500: '#0d0c55',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c55;
$custom-light: #5c4c86;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c55",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 240.822,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22817,
    "c": 0.12434,
    "h": 271.3
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#0D0C55
secondary
#8F902D
accent
#F236EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0D0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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