#0D0F3A#0D0F3A

#0D0F3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.081 H 274.3°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#0D0F3A
RGBrgb(13, 15, 58)
HSLhsl(237, 63%, 14%)
HSVhsv(237, 78%, 23%)
CMYKcmyk(77.6%, 74.1%, 0%, 77.3%)
CIE-LABlab(6.62, 15.62, -27.96)
CIE-LCHlch(6.62, 32.03, 299.19°)
OKLaboklab(20.07% 0.0061 -0.0811)
OKLCHoklch(20.07% 0.081 274.3)
XYZxyz(1.1003, 0.7326, 4.0856)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F3A #3A380D
analogous
#0D263A #0D0F3A #220D3A
triadic
#0D0F3A #3A0D0F #0F3A0D
tetradic
#0D0F3A #3A0D26 #3A380D #0D3A22
square
#0D0F3A #3A0D26 #3A380D #0D3A22
split-complementary
#0D0F3A #3A220D #263A0D
monochromatic
#060619 #060619 #0D0F3A #181C6C #23299E

Accessibility & contrast

On white

18.32
#0D0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0F3A
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F3A#FFFFFF#000000##FFFFFF
##0D0F3A1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d0f3a;
/* rgb */ color: rgb(13, 15, 58);
/* oklch */ color: oklch(20.1% 0.081 274.3);
Tailwind
colors: {
  custom: {
    50: '#534d71',
    500: '#0d0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f3a;
$custom-light: #534d71;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f3a",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 237.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20073,
    "c": 0.08134,
    "h": 274.3
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#0D0F3A
secondary
#76722D
accent
#DF41E6
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0D0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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