#0D063B#0D063B

#0D063B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.095 H 278.0°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#0D063B
RGBrgb(13, 6, 59)
HSLhsl(248, 82%, 13%)
HSVhsv(248, 90%, 23%)
CMYKcmyk(78%, 89.8%, 0%, 76.9%)
CIE-LABlab(4.80, 20.64, -31.64)
CIE-LCHlch(4.80, 37.77, 303.12°)
OKLaboklab(18.47% 0.0133 -0.0942)
OKLCHoklch(18.47% 0.095 278)
XYZxyz(1.0203, 0.5315, 4.1856)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D063B #343B06
analogous
#06193B #0D063B #28063B
triadic
#0D063B #3B0D06 #063B0D
tetradic
#0D063B #3B0619 #343B06 #063B28
square
#0D063B #3B0619 #343B06 #063B28
split-complementary
#0D063B #3B2806 #193B06
monochromatic
#06031C #06031C #0D063B #190C73 #2511AA

Accessibility & contrast

On white

18.98
#0D063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D063B
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D063B#FFFFFF#000000##FFFFFF
##0D063B1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123C
Deuteranopia (green-blind)
#000E3A
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d063b;
/* rgb */ color: rgb(13, 6, 59);
/* oklch */ color: oklch(18.5% 0.095 278.0);
Tailwind
colors: {
  custom: {
    50: '#534872',
    500: '#0d063b',
    950: '#000000',
  },
}
SCSS
$custom: #0d063b;
$custom-light: #534872;
$custom-dark: #000000;
JSON
{
  "hex": "#0d063b",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 247.925,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18474,
    "c": 0.0951,
    "h": 278
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#0D063B
secondary
#6F7B22
accent
#F830DD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0D063B

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

Preview Lab → · Contrast checker → · Palette generator →

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