#0D063A#0D063A

#0D063A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.094 H 278.4°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#0D063A
RGBrgb(13, 6, 58)
HSLhsl(248, 81%, 13%)
HSVhsv(248, 90%, 23%)
CMYKcmyk(77.6%, 89.7%, 0%, 77.3%)
CIE-LABlab(4.71, 20.11, -31.06)
CIE-LCHlch(4.71, 37.00, 302.91°)
OKLaboklab(18.34% 0.0136 -0.0927)
OKLCHoklch(18.34% 0.094 278.4)
XYZxyz(0.9946, 0.5212, 4.0504)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D063A #333A06
analogous
#06193A #0D063A #27063A
triadic
#0D063A #3A0D06 #063A0D
tetradic
#0D063A #3A0619 #333A06 #063A27
square
#0D063A #3A0619 #333A06 #063A27
split-complementary
#0D063A #3A2706 #193A06
monochromatic
#06031C #06031C #0D063A #190C71 #2611A9

Accessibility & contrast

On white

19.02
#0D063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0D063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D063A
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D063A#FFFFFF#000000##FFFFFF
##0D063A1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#000E39
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0d063a;
/* rgb */ color: rgb(13, 6, 58);
/* oklch */ color: oklch(18.3% 0.094 278.4);
Tailwind
colors: {
  custom: {
    50: '#534871',
    500: '#0d063a',
    950: '#000000',
  },
}
SCSS
$custom: #0d063a;
$custom-light: #534871;
$custom-dark: #000000;
JSON
{
  "hex": "#0d063a",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 248.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18344,
    "c": 0.09368,
    "h": 278.4
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#0D063A
secondary
#6E7A22
accent
#F830DD
background
#F5F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0D063A

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

Preview Lab → · Contrast checker → · Palette generator →

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