#0F0E2E#0F0E2E

#0F0E2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.062 H 280.0°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#0F0E2E
RGBrgb(15, 14, 46)
HSLhsl(242, 53%, 12%)
HSVhsv(242, 70%, 18%)
CMYKcmyk(67.4%, 69.6%, 0%, 82%)
CIE-LABlab(5.54, 10.84, -20.89)
CIE-LCHlch(5.54, 23.53, 297.42°)
OKLaboklab(18.79% 0.0108 -0.0614)
OKLCHoklch(18.79% 0.062 280)
XYZxyz(0.8470, 0.6128, 2.6579)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E2E #2D2E0E
analogous
#0E1D2E #0F0E2E #1F0E2E
triadic
#0F0E2E #2E0F0E #0E2E0F
tetradic
#0F0E2E #2E0E1D #2D2E0E #0E2E1F
square
#0F0E2E #2E0E1D #2D2E0E #0E2E1F
split-complementary
#0F0E2E #2E1F0E #1D2E0E
monochromatic
#080717 #080717 #0F0E2E #1E1C5D #2E2B8C

Accessibility & contrast

On white

18.71
#0F0E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E2E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E2E#FFFFFF#000000##FFFFFF
##0F0E2E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#03151C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0e2e;
/* rgb */ color: rgb(15, 14, 46);
/* oklch */ color: oklch(18.8% 0.062 280.0);
Tailwind
colors: {
  custom: {
    50: '#504d67',
    500: '#0f0e2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e2e;
$custom-light: #504d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e2e",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 241.875,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18792,
    "c": 0.06232,
    "h": 280
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#0F0E2E
secondary
#666830
accent
#DD4BD8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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