#0D0F49#0D0F49

#0D0F49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.104 H 272.2°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#0D0F49
RGBrgb(13, 15, 73)
HSLhsl(238, 70%, 17%)
HSVhsv(238, 82%, 29%)
CMYKcmyk(82.2%, 79.5%, 0%, 71.4%)
CIE-LABlab(8.20, 22.18, -36.02)
CIE-LCHlch(8.20, 42.30, 301.62°)
OKLaboklab(21.79% 0.0041 -0.1042)
OKLCHoklch(21.79% 0.104 272.2)
XYZxyz(1.5390, 0.9081, 6.3962)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F49 #49470D
analogous
#0D2D49 #0D0F49 #290D49
triadic
#0D0F49 #490D0F #0F490D
tetradic
#0D0F49 #490D2D #49470D #0D4929
square
#0D0F49 #490D2D #49470D #0D4929
split-complementary
#0D0F49 #49290D #2D490D
monochromatic
#05051A #05051A #0D0F49 #161A7D #2024B1

Accessibility & contrast

On white

17.77
#0D0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D0F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F49
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F49#FFFFFF#000000##FFFFFF
##0D0F491.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d0f49;
/* rgb */ color: rgb(13, 15, 73);
/* oklch */ color: oklch(21.8% 0.104 272.2);
Tailwind
colors: {
  custom: {
    50: '#574d7c',
    500: '#0d0f49',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f49;
$custom-light: #574d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f49",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 238,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21791,
    "c": 0.10431,
    "h": 272.2
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#0D0F49
secondary
#84812D
accent
#E73BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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