#0D0F56#0D0F56

#0D0F56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.123 H 270.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0D0F56
RGBrgb(13, 15, 86)
HSLhsl(238, 74%, 19%)
HSVhsv(238, 85%, 34%)
CMYKcmyk(84.9%, 82.6%, 0%, 66.3%)
CIE-LABlab(9.79, 27.24, -42.36)
CIE-LCHlch(9.79, 50.36, 302.75°)
OKLaboklab(23.39% 0.0016 -0.1227)
OKLCHoklch(23.39% 0.123 270.7)
XYZxyz(2.0159, 1.0989, 8.9082)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F56 #56540D
analogous
#0D3456 #0D0F56 #300D56
triadic
#0D0F56 #560D0F #0F560D
tetradic
#0D0F56 #560D34 #56540D #0D5630
square
#0D0F56 #560D34 #56540D #0D5630
split-complementary
#0D0F56 #56300D #34560D
monochromatic
#04051B #050621 #0D0F56 #15188B #1D22C0

Accessibility & contrast

On white

17.22
#0D0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F56
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F56#FFFFFF#000000##FFFFFF
##0D0F561.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d0f56;
/* rgb */ color: rgb(13, 15, 86);
/* oklch */ color: oklch(23.4% 0.123 270.7);
Tailwind
colors: {
  custom: {
    50: '#5c4e87',
    500: '#0d0f56',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f56;
$custom-light: #5c4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f56",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 238.356,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23392,
    "c": 0.12268,
    "h": 270.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#0D0F56
secondary
#918E2E
accent
#EB37F0
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0D0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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