#0D0E38#0D0E38

#0D0E38 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.080 H 275.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#0D0E38
RGBrgb(13, 14, 56)
HSLhsl(239, 62%, 14%)
HSVhsv(239, 77%, 22%)
CMYKcmyk(76.8%, 75%, 0%, 78%)
CIE-LABlab(6.19, 15.24, -27.21)
CIE-LCHlch(6.19, 31.19, 299.26°)
OKLaboklab(19.64% 0.0072 -0.0793)
OKLCHoklch(19.64% 0.08 275.2)
XYZxyz(1.0366, 0.6851, 3.8182)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E38 #38370D
analogous
#0D2338 #0D0E38 #210D38
triadic
#0D0E38 #380D0E #0E380D
tetradic
#0D0E38 #380D23 #38370D #0D3821
square
#0D0E38 #380D23 #38370D #0D3821
split-complementary
#0D0E38 #38210D #23380D
monochromatic
#060619 #060619 #0D0E38 #191A6A #24279B

Accessibility & contrast

On white

18.47
#0D0E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0D0E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0E38
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E38#FFFFFF#000000##FFFFFF
##0D0E381.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0d0e38;
/* rgb */ color: rgb(13, 14, 56);
/* oklch */ color: oklch(19.6% 0.080 275.2);
Tailwind
colors: {
  custom: {
    50: '#524c6f',
    500: '#0d0e38',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e38;
$custom-light: #524c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e38",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 238.605,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19644,
    "c": 0.07959,
    "h": 275.2
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#0D0E38
secondary
#73722D
accent
#E242E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0D0E38

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

Preview Lab → · Contrast checker → · Palette generator →

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