#0F0B2F#0F0B2F

#0F0B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.069 H 282.1°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#0F0B2F
RGBrgb(15, 11, 47)
HSLhsl(247, 62%, 11%)
HSVhsv(247, 77%, 18%)
CMYKcmyk(68.1%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.93, 12.72, -22.59)
CIE-LCHlch(4.93, 25.93, 299.38°)
OKLaboklab(18.23% 0.0145 -0.0674)
OKLCHoklch(18.23% 0.069 282.1)
XYZxyz(0.8296, 0.5461, 2.7505)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B2F #2B2F0B
analogous
#0B192F #0F0B2F #210B2F
triadic
#0F0B2F #2F0F0B #0B2F0F
tetradic
#0F0B2F #2F0B19 #2B2F0B #0B2F21
square
#0F0B2F #2F0B19 #2B2F0B #0B2F21
split-complementary
#0F0B2F #2F210B #192F0B
monochromatic
#080619 #080619 #0F0B2F #1F1761 #2F2292

Accessibility & contrast

On white

18.93
#0F0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0B2F
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B2F#FFFFFF#000000##FFFFFF
##0F0B2F1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#02141B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0b2f;
/* rgb */ color: rgb(15, 11, 47);
/* oklch */ color: oklch(18.2% 0.069 282.1);
Tailwind
colors: {
  custom: {
    50: '#504b68',
    500: '#0f0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b2f;
$custom-light: #504b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b2f",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 246.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18234,
    "c": 0.06896,
    "h": 282.1
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#0F0B2F
secondary
#646B2A
accent
#E543D3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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