#0D0F48#0D0F48

#0D0F48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.103 H 272.4°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#0D0F48
RGBrgb(13, 15, 72)
HSLhsl(238, 69%, 17%)
HSVhsv(238, 82%, 28%)
CMYKcmyk(81.9%, 79.2%, 0%, 71.8%)
CIE-LABlab(8.08, 21.78, -35.52)
CIE-LCHlch(8.08, 41.66, 301.52°)
OKLaboklab(21.67% 0.0042 -0.1028)
OKLCHoklch(21.67% 0.103 272.4)
XYZxyz(1.5061, 0.8949, 6.2230)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F48 #48460D
analogous
#0D2D48 #0D0F48 #290D48
triadic
#0D0F48 #480D0F #0F480D
tetradic
#0D0F48 #480D2D #48460D #0D4829
square
#0D0F48 #480D2D #48460D #0D4829
split-complementary
#0D0F48 #48290D #2D480D
monochromatic
#05051A #05051A #0D0F48 #161A7C #2025B0

Accessibility & contrast

On white

17.81
#0D0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F48
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F48#FFFFFF#000000##FFFFFF
##0D0F481.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d0f48;
/* rgb */ color: rgb(13, 15, 72);
/* oklch */ color: oklch(21.7% 0.103 272.4);
Tailwind
colors: {
  custom: {
    50: '#574d7c',
    500: '#0d0f48',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f48;
$custom-light: #574d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f48",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 237.966,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21672,
    "c": 0.10285,
    "h": 272.4
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#0D0F48
secondary
#83802D
accent
#E63CEC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0D0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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