#0D0C3F#0D0C3F

#0D0C3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.093 H 274.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#0D0C3F
RGBrgb(13, 12, 63)
HSLhsl(241, 68%, 15%)
HSVhsv(241, 81%, 25%)
CMYKcmyk(79.4%, 81%, 0%, 75.3%)
CIE-LABlab(6.39, 19.74, -31.93)
CIE-LCHlch(6.39, 37.54, 301.73°)
OKLaboklab(20.05% 0.0079 -0.0929)
OKLCHoklch(20.05% 0.093 274.8)
XYZxyz(1.1944, 0.7073, 4.7752)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C3F #3E3F0C
analogous
#0C253F #0D0C3F #260C3F
triadic
#0D0C3F #3F0D0C #0C3F0D
tetradic
#0D0C3F #3F0C25 #3E3F0C #0C3F26
square
#0D0C3F #3F0C25 #3E3F0C #0C3F26
split-complementary
#0D0C3F #3F260C #253F0C
monochromatic
#05051A #05051A #0D0C3F #181672 #2220A6

Accessibility & contrast

On white

18.40
#0D0C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0C3F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C3F#FFFFFF#000000##FFFFFF
##0D0C3F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0c3f;
/* rgb */ color: rgb(13, 12, 63);
/* oklch */ color: oklch(20.1% 0.093 274.8);
Tailwind
colors: {
  custom: {
    50: '#554b75',
    500: '#0d0c3f',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c3f;
$custom-light: #554b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c3f",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 241.176,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20052,
    "c": 0.09323,
    "h": 274.8
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#0D0C3F
secondary
#7A7B2C
accent
#EB3DE7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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