#0F0D2A#0F0D2A

#0F0D2A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.057 H 282.2°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0F0D2A
RGBrgb(15, 13, 42)
HSLhsl(244, 53%, 11%)
HSVhsv(244, 69%, 16%)
CMYKcmyk(64.3%, 69%, 0%, 83.5%)
CIE-LABlab(5.03, 9.41, -18.69)
CIE-LCHlch(5.03, 20.93, 296.73°)
OKLaboklab(18.18% 0.0121 -0.0557)
OKLCHoklch(18.18% 0.057 282.2)
XYZxyz(0.7587, 0.5565, 2.2575)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D2A #282A0D
analogous
#0D192A #0F0D2A #1D0D2A
triadic
#0F0D2A #2A0F0D #0D2A0F
tetradic
#0F0D2A #2A0D19 #282A0D #0D2A1D
square
#0F0D2A #2A0D19 #282A0D #0D2A1D
split-complementary
#0F0D2A #2A1D0D #192A0D
monochromatic
#080717 #080717 #0F0D2A #201B59 #302A87

Accessibility & contrast

On white

18.90
#0F0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D2A
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D2A#FFFFFF#000000##FFFFFF
##0F0D2A1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#051419
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0d2a;
/* rgb */ color: rgb(15, 13, 42);
/* oklch */ color: oklch(18.2% 0.057 282.2);
Tailwind
colors: {
  custom: {
    50: '#4f4c63',
    500: '#0f0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d2a;
$custom-light: #4f4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d2a",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 244.138,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1818,
    "c": 0.05704,
    "h": 282.2
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#0F0D2A
secondary
#61642E
accent
#DC4CD2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0F0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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