#0D063E#0D063E

#0D063E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.099 H 277.1°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0D063E
RGBrgb(13, 6, 62)
HSLhsl(248, 82%, 13%)
HSVhsv(248, 90%, 24%)
CMYKcmyk(79%, 90.3%, 0%, 75.7%)
CIE-LABlab(5.09, 22.20, -33.33)
CIE-LCHlch(5.09, 40.05, 303.67°)
OKLaboklab(18.87% 0.0123 -0.0985)
OKLCHoklch(18.87% 0.099 277.1)
XYZxyz(1.1003, 0.5635, 4.6073)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D063E #373E06
analogous
#061B3E #0D063E #29063E
triadic
#0D063E #3E0D06 #063E0D
tetradic
#0D063E #3E061B #373E06 #063E29
square
#0D063E #3E061B #373E06 #063E29
split-complementary
#0D063E #3E2906 #1B3E06
monochromatic
#06031C #06031C #0D063E #190B76 #2411AE

Accessibility & contrast

On white

18.87
#0D063E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D063E
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D063E#FFFFFF#000000##FFFFFF
##0D063E1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001340
Deuteranopia (green-blind)
#000F3D
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0d063e;
/* rgb */ color: rgb(13, 6, 62);
/* oklch */ color: oklch(18.9% 0.099 277.1);
Tailwind
colors: {
  custom: {
    50: '#544874',
    500: '#0d063e',
    950: '#000000',
  },
}
SCSS
$custom: #0d063e;
$custom-light: #544874;
$custom-dark: #000000;
JSON
{
  "hex": "#0d063e",
  "rgb": {
    "r": 13,
    "g": 6,
    "b": 62
  },
  "hsl": {
    "h": 247.5,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18869,
    "c": 0.09931,
    "h": 277.1
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#0D063E
secondary
#727E22
accent
#F92FE0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0D063E

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

Preview Lab → · Contrast checker → · Palette generator →

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