#0F0D2B#0F0D2B

#0F0D2B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.3% C 0.059 H 281.9°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0F0D2B
RGBrgb(15, 13, 43)
HSLhsl(244, 54%, 11%)
HSVhsv(244, 70%, 17%)
CMYKcmyk(65.1%, 69.8%, 0%, 83.1%)
CIE-LABlab(5.09, 9.87, -19.34)
CIE-LCHlch(5.09, 21.71, 297.03°)
OKLaboklab(18.27% 0.0121 -0.0575)
OKLCHoklch(18.27% 0.059 281.9)
XYZxyz(0.7768, 0.5638, 2.3529)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D2B #292B0D
analogous
#0D1A2B #0F0D2B #1E0D2B
triadic
#0F0D2B #2B0F0D #0D2B0F
tetradic
#0F0D2B #2B0D1A #292B0D #0D2B1E
square
#0F0D2B #2B0D1A #292B0D #0D2B1E
split-complementary
#0F0D2B #2B1E0D #1A2B0D
monochromatic
#080717 #080717 #0F0D2B #1F1B5A #302989

Accessibility & contrast

On white

18.87
#0F0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D2B
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D2B#FFFFFF#000000##FFFFFF
##0F0D2B1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#05141A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0d2b;
/* rgb */ color: rgb(15, 13, 43);
/* oklch */ color: oklch(18.3% 0.059 281.9);
Tailwind
colors: {
  custom: {
    50: '#4f4c64',
    500: '#0f0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d2b;
$custom-light: #4f4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d2b",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 244,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18275,
    "c": 0.05881,
    "h": 281.9
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#0F0D2B
secondary
#62662E
accent
#DD4BD3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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