#0D063C#0D063C

#0D063C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.097 H 277.7°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#0D063C
RGBrgb(13, 6, 60)
HSLhsl(248, 82%, 13%)
HSVhsv(248, 90%, 24%)
CMYKcmyk(78.3%, 90%, 0%, 76.5%)
CIE-LABlab(4.90, 21.17, -32.21)
CIE-LCHlch(4.90, 38.54, 303.31°)
OKLaboklab(18.61% 0.013 -0.0956)
OKLCHoklch(18.61% 0.097 277.7)
XYZxyz(1.0465, 0.5420, 4.3236)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D063C #353C06
analogous
#061A3C #0D063C #28063C
triadic
#0D063C #3C0D06 #063C0D
tetradic
#0D063C #3C061A #353C06 #063C28
square
#0D063C #3C061A #353C06 #063C28
split-complementary
#0D063C #3C2806 #1A3C06
monochromatic
#06031C #06031C #0D063C #190C74 #2511AB

Accessibility & contrast

On white

18.95
#0D063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0D063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D063C
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D063C#FFFFFF#000000##FFFFFF
##0D063C1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#000E3B
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d063c;
/* rgb */ color: rgb(13, 6, 60);
/* oklch */ color: oklch(18.6% 0.097 277.7);
Tailwind
colors: {
  custom: {
    50: '#544872',
    500: '#0d063c',
    950: '#000000',
  },
}
SCSS
$custom: #0d063c;
$custom-light: #544872;
$custom-dark: #000000;
JSON
{
  "hex": "#0d063c",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 247.778,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18605,
    "c": 0.09651,
    "h": 277.7
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#0D063C
secondary
#707C22
accent
#F830DE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D063C

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

Preview Lab → · Contrast checker → · Palette generator →

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