#0D0E40#0D0E40

#0D0E40 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.092 H 273.9°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#0D0E40
RGBrgb(13, 14, 64)
HSLhsl(239, 66%, 15%)
HSVhsv(239, 80%, 25%)
CMYKcmyk(79.7%, 78.1%, 0%, 74.9%)
CIE-LABlab(6.95, 19.03, -31.72)
CIE-LCHlch(6.95, 36.99, 300.96°)
OKLaboklab(20.54% 0.0062 -0.0919)
OKLCHoklch(20.54% 0.092 273.9)
XYZxyz(1.2481, 0.7697, 4.9323)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E40 #403F0D
analogous
#0D2740 #0D0E40 #260D40
triadic
#0D0E40 #400D0E #0E400D
tetradic
#0D0E40 #400D27 #403F0D #0D4026
square
#0D0E40 #400D27 #403F0D #0D4026
split-complementary
#0D0E40 #40260D #27400D
monochromatic
#050619 #050619 #0D0E40 #171973 #2224A6

Accessibility & contrast

On white

18.20
#0D0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0E40
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E40#FFFFFF#000000##FFFFFF
##0D0E401.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0e40;
/* rgb */ color: rgb(13, 14, 64);
/* oklch */ color: oklch(20.5% 0.092 273.9);
Tailwind
colors: {
  custom: {
    50: '#554c75',
    500: '#0d0e40',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e40;
$custom-light: #554c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e40",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 238.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20544,
    "c": 0.09214,
    "h": 273.9
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#0D0E40
secondary
#7C7A2D
accent
#E63FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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