#0F0F2D#0F0F2D

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

Color values

HEX#0F0F2D
RGBrgb(15, 15, 45)
HSLhsl(240, 50%, 12%)
HSVhsv(240, 67%, 18%)
CMYKcmyk(66.7%, 66.7%, 0%, 82.4%)
CIE-LABlab(5.71, 9.83, -19.86)
CIE-LCHlch(5.71, 22.16, 296.34°)
OKLaboklab(18.93% 0.0094 -0.0581)
OKLCHoklch(18.93% 0.059 279.2)
XYZxyz(0.8413, 0.6326, 2.5599)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F2D #2D2D0F
analogous
#0F1E2D #0F0F2D #1E0F2D
triadic
#0F0F2D #2D0F0F #0F2D0F
tetradic
#0F0F2D #2D0F1E #2D2D0F #0F2D1E
square
#0F0F2D #2D0F1E #2D2D0F #0F2D1E
split-complementary
#0F0F2D #2D1E0F #1E2D0F
monochromatic
#080817 #080817 #0F0F2D #1E1E5B #2E2E89

Accessibility & contrast

On white

18.64
#0F0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F2D
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F2D#FFFFFF#000000##FFFFFF
##0F0F2D1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#03161C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0f2d;
/* rgb */ color: rgb(15, 15, 45);
/* oklch */ color: oklch(18.9% 0.059 279.2);
Tailwind
colors: {
  custom: {
    50: '#504d66',
    500: '#0f0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f2d;
$custom-light: #504d66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f2d",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18932,
    "c": 0.05885,
    "h": 279.2
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#0F0F2D
secondary
#666631
accent
#DA4EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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