#0D0E42#0D0E42

#0D0E42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.095 H 273.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0D0E42
RGBrgb(13, 14, 66)
HSLhsl(239, 67%, 15%)
HSVhsv(239, 80%, 26%)
CMYKcmyk(80.3%, 78.8%, 0%, 74.1%)
CIE-LABlab(7.16, 19.92, -32.80)
CIE-LCHlch(7.16, 38.38, 301.28°)
OKLaboklab(20.78% 0.0059 -0.095)
OKLCHoklch(20.78% 0.095 273.6)
XYZxyz(1.3061, 0.7929, 5.2374)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0E42 #42410D
analogous
#0D2842 #0D0E42 #260D42
triadic
#0D0E42 #420D0E #0E420D
tetradic
#0D0E42 #420D28 #42410D #0D4226
square
#0D0E42 #420D28 #42410D #0D4226
split-complementary
#0D0E42 #42260D #28420D
monochromatic
#05051A #05051A #0D0E42 #171975 #2124A8

Accessibility & contrast

On white

18.13
#0D0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0E42
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0E42#FFFFFF#000000##FFFFFF
##0D0E421.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d0e42;
/* rgb */ color: rgb(13, 14, 66);
/* oklch */ color: oklch(20.8% 0.095 273.6);
Tailwind
colors: {
  custom: {
    50: '#554c77',
    500: '#0d0e42',
    950: '#000000',
  },
}
SCSS
$custom: #0d0e42;
$custom-light: #554c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0e42",
  "rgb": {
    "r": 13,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 238.868,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20777,
    "c": 0.09517,
    "h": 273.6
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#0D0E42
secondary
#7E7C2D
accent
#E73EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0D0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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