#0D0C3E#0D0C3E

#0D0C3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.092 H 275.0°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#0D0C3E
RGBrgb(13, 12, 62)
HSLhsl(241, 68%, 15%)
HSVhsv(241, 81%, 24%)
CMYKcmyk(79%, 80.6%, 0%, 75.7%)
CIE-LABlab(6.29, 19.27, -31.38)
CIE-LCHlch(6.29, 36.82, 301.55°)
OKLaboklab(19.93% 0.0081 -0.0914)
OKLCHoklch(19.93% 0.092 275)
XYZxyz(1.1667, 0.6962, 4.6294)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C3E #3D3E0C
analogous
#0C243E #0D0C3E #260C3E
triadic
#0D0C3E #3E0D0C #0C3E0D
tetradic
#0D0C3E #3E0C24 #3D3E0C #0C3E26
square
#0D0C3E #3E0C24 #3D3E0C #0C3E26
split-complementary
#0D0C3E #3E260C #243E0C
monochromatic
#05051A #05051A #0D0C3E #181671 #2320A5

Accessibility & contrast

On white

18.43
#0D0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C3E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C3E#FFFFFF#000000##FFFFFF
##0D0C3E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0c3e;
/* rgb */ color: rgb(13, 12, 62);
/* oklch */ color: oklch(19.9% 0.092 275.0);
Tailwind
colors: {
  custom: {
    50: '#544b74',
    500: '#0d0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c3e;
$custom-light: #544b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c3e",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 241.2,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19933,
    "c": 0.09172,
    "h": 275
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#0D0C3E
secondary
#797A2C
accent
#EA3DE7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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