#0F0F2A#0F0F2A

#0F0F2A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.053 H 279.9°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0F0F2A
RGBrgb(15, 15, 42)
HSLhsl(240, 47%, 11%)
HSVhsv(240, 64%, 16%)
CMYKcmyk(64.3%, 64.3%, 0%, 83.5%)
CIE-LABlab(5.51, 8.42, -17.93)
CIE-LCHlch(5.51, 19.80, 295.16°)
OKLaboklab(18.66% 0.0092 -0.0527)
OKLCHoklch(18.66% 0.053 279.9)
XYZxyz(0.7856, 0.6103, 2.2664)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F2A #2A2A0F
analogous
#0F1C2A #0F0F2A #1C0F2A
triadic
#0F0F2A #2A0F0F #0F2A0F
tetradic
#0F0F2A #2A0F1C #2A2A0F #0F2A1C
square
#0F0F2A #2A0F1C #2A2A0F #0F2A1C
split-complementary
#0F0F2A #2A1C0F #1C2A0F
monochromatic
#080817 #080817 #0F0F2A #1F1F57 #2F2F84

Accessibility & contrast

On white

18.72
#0F0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F2A
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F2A#FFFFFF#000000##FFFFFF
##0F0F2A1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#021129
Tritanopia (blue-blind)
#05151A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0f2a;
/* rgb */ color: rgb(15, 15, 42);
/* oklch */ color: oklch(18.7% 0.053 279.9);
Tailwind
colors: {
  custom: {
    50: '#4f4d63',
    500: '#0f0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f2a;
$custom-light: #4f4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f2a",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 240,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1866,
    "c": 0.05348,
    "h": 279.9
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#0F0F2A
secondary
#636332
accent
#D751D7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0F0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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