#0F0B2A#0F0B2A

#0F0B2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.061 H 284.2°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0F0B2A
RGBrgb(15, 11, 42)
HSLhsl(248, 58%, 10%)
HSVhsv(248, 74%, 16%)
CMYKcmyk(64.3%, 73.8%, 0%, 83.5%)
CIE-LABlab(4.59, 10.31, -19.38)
CIE-LCHlch(4.59, 21.95, 298.01°)
OKLaboklab(17.72% 0.0149 -0.0587)
OKLCHoklch(17.72% 0.061 284.2)
XYZxyz(0.7345, 0.5080, 2.2494)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B2A #262A0B
analogous
#0B162A #0F0B2A #1E0B2A
triadic
#0F0B2A #2A0F0B #0B2A0F
tetradic
#0F0B2A #2A0B16 #262A0B #0B2A1E
square
#0F0B2A #2A0B16 #262A0B #0B2A1E
split-complementary
#0F0B2A #2A1E0B #162A0B
monochromatic
#090618 #090618 #0F0B2A #20185A #32248B

Accessibility & contrast

On white

19.06
#0F0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F0B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B2A
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B2A#FFFFFF#000000##FFFFFF
##0F0B2A1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#051218
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0b2a;
/* rgb */ color: rgb(15, 11, 42);
/* oklch */ color: oklch(17.7% 0.061 284.2);
Tailwind
colors: {
  custom: {
    50: '#4f4b63',
    500: '#0f0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b2a;
$custom-light: #4f4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b2a",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 247.742,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17725,
    "c": 0.06055,
    "h": 284.2
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#0F0B2A
secondary
#5E662B
accent
#E246CE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0F0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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