#0F0F2E#0F0F2E

#0F0F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.061 H 279.0°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0F0F2E
RGBrgb(15, 15, 46)
HSLhsl(240, 51%, 12%)
HSVhsv(240, 67%, 18%)
CMYKcmyk(67.4%, 67.4%, 0%, 82%)
CIE-LABlab(5.78, 10.32, -20.49)
CIE-LCHlch(5.78, 22.94, 296.74°)
OKLaboklab(19.02% 0.0094 -0.0599)
OKLCHoklch(19.02% 0.061 279)
XYZxyz(0.8608, 0.6404, 2.6625)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F2E #2E2E0F
analogous
#0F1F2E #0F0F2E #1F0F2E
triadic
#0F0F2E #2E0F0F #0F2E0F
tetradic
#0F0F2E #2E0F1F #2E2E0F #0F2E1F
square
#0F0F2E #2E0F1F #2E2E0F #0F2E1F
split-complementary
#0F0F2E #2E1F0F #1F2E0F
monochromatic
#080817 #080817 #0F0F2E #1E1E5C #2D2D8A

Accessibility & contrast

On white

18.62
#0F0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F2E
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F2E#FFFFFF#000000##FFFFFF
##0F0F2E1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#02161C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0f2e;
/* rgb */ color: rgb(15, 15, 46);
/* oklch */ color: oklch(19.0% 0.061 279.0);
Tailwind
colors: {
  custom: {
    50: '#504d67',
    500: '#0f0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f2e;
$custom-light: #504d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f2e",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19025,
    "c": 0.06062,
    "h": 279
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#0F0F2E
secondary
#686831
accent
#DA4DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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