#0D0F3D#0D0F3D

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

Color values

HEX#0D0F3D
RGBrgb(13, 15, 61)
HSLhsl(238, 65%, 15%)
HSVhsv(238, 79%, 24%)
CMYKcmyk(78.7%, 75.4%, 0%, 76.1%)
CIE-LABlab(6.90, 17.02, -29.66)
CIE-LCHlch(6.90, 34.20, 299.86°)
OKLaboklab(20.4% 0.0058 -0.0859)
OKLCHoklch(20.4% 0.086 273.9)
XYZxyz(1.1788, 0.7640, 4.4993)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F3D #3D3B0D
analogous
#0D273D #0D0F3D #230D3D
triadic
#0D0F3D #3D0D0F #0F3D0D
tetradic
#0D0F3D #3D0D27 #3D3B0D #0D3D23
square
#0D0F3D #3D0D27 #3D3B0D #0D3D23
split-complementary
#0D0F3D #3D230D #273D0D
monochromatic
#050619 #050619 #0D0F3D #181B6F #2328A2

Accessibility & contrast

On white

18.22
#0D0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F3D
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F3D#FFFFFF#000000##FFFFFF
##0D0F3D1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0f3d;
/* rgb */ color: rgb(13, 15, 61);
/* oklch */ color: oklch(20.4% 0.086 273.9);
Tailwind
colors: {
  custom: {
    50: '#544d73',
    500: '#0d0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f3d;
$custom-light: #544d73;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f3d",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 237.5,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20403,
    "c": 0.08612,
    "h": 273.9
  },
  "luminance": 0.00764
}

Semantic roles & 50–950 ramp

primary
#0D0F3D
secondary
#79752D
accent
#E140E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0D0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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