#0F0D2D#0F0D2D

#0F0D2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.062 H 281.2°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#0F0D2D
RGBrgb(15, 13, 45)
HSLhsl(244, 55%, 11%)
HSVhsv(244, 71%, 18%)
CMYKcmyk(66.7%, 71.1%, 0%, 82.4%)
CIE-LABlab(5.23, 10.83, -20.63)
CIE-LCHlch(5.23, 23.30, 297.69°)
OKLaboklab(18.47% 0.0121 -0.0611)
OKLCHoklch(18.47% 0.062 281.2)
XYZxyz(0.8144, 0.5788, 2.5509)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D2D #2B2D0D
analogous
#0D1B2D #0F0D2D #1F0D2D
triadic
#0F0D2D #2D0F0D #0D2D0F
tetradic
#0F0D2D #2D0D1B #2B2D0D #0D2D1F
square
#0F0D2D #2D0D1B #2B2D0D #0D2D1F
split-complementary
#0F0D2D #2D1F0D #1B2D0D
monochromatic
#080718 #080718 #0F0D2D #1F1B5C #2F288C

Accessibility & contrast

On white

18.82
#0F0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D2D
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D2D#FFFFFF#000000##FFFFFF
##0F0D2D1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#03151B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0d2d;
/* rgb */ color: rgb(15, 13, 45);
/* oklch */ color: oklch(18.5% 0.062 281.2);
Tailwind
colors: {
  custom: {
    50: '#504c66',
    500: '#0f0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d2d;
$custom-light: #504c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d2d",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 243.75,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18467,
    "c": 0.06229,
    "h": 281.2
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#0F0D2D
secondary
#64682E
accent
#DF49D5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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