#0D1333#0D1333

#0D1333 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.063 H 271.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0D1333
RGBrgb(13, 19, 51)
HSLhsl(231, 59%, 13%)
HSVhsv(231, 75%, 20%)
CMYKcmyk(74.5%, 62.7%, 0%, 80%)
CIE-LABlab(7.14, 9.69, -22.03)
CIE-LCHlch(7.14, 24.07, 293.74°)
OKLaboklab(20.29% 0.0018 -0.0633)
OKLCHoklch(20.29% 0.063 271.6)
XYZxyz(0.9962, 0.7902, 3.2314)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1333 #332D0D
analogous
#0D2633 #0D1333 #1A0D33
triadic
#0D1333 #330D13 #13330D
tetradic
#0D1333 #330D26 #332D0D #0D331A
square
#0D1333 #330D26 #332D0D #0D331A
split-complementary
#0D1333 #331A0D #26330D
monochromatic
#060918 #060918 #0D1333 #192564 #263795

Accessibility & contrast

On white

18.13
#0D1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D1333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1333
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1333#FFFFFF#000000##FFFFFF
##0D13331.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021834
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d1333;
/* rgb */ color: rgb(13, 19, 51);
/* oklch */ color: oklch(20.3% 0.063 271.6);
Tailwind
colors: {
  custom: {
    50: '#50506b',
    500: '#0d1333',
    950: '#000000',
  },
}
SCSS
$custom: #0d1333;
$custom-light: #50506b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1333",
  "rgb": {
    "r": 13,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 230.526,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20292,
    "c": 0.06338,
    "h": 271.6
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#0D1333
secondary
#6E642E
accent
#CA45E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D1333

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

Preview Lab → · Contrast checker → · Palette generator →

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