#0F0E2F#0F0E2F

#0F0E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.064 H 279.7°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0F0E2F
RGBrgb(15, 14, 47)
HSLhsl(242, 54%, 12%)
HSVhsv(242, 70%, 18%)
CMYKcmyk(68.1%, 70.2%, 0%, 81.6%)
CIE-LABlab(5.61, 11.33, -21.52)
CIE-LCHlch(5.61, 24.32, 297.78°)
OKLaboklab(18.89% 0.0108 -0.0631)
OKLCHoklch(18.89% 0.064 279.7)
XYZxyz(0.8670, 0.6208, 2.7629)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E2F #2E2F0E
analogous
#0E1E2F #0F0E2F #200E2F
triadic
#0F0E2F #2F0F0E #0E2F0F
tetradic
#0F0E2F #2F0E1E #2E2F0E #0E2F20
square
#0F0E2F #2F0E1E #2E2F0E #0E2F20
split-complementary
#0F0E2F #2F200E #1E2F0E
monochromatic
#080718 #080718 #0F0E2F #1E1C5E #2D2A8D

Accessibility & contrast

On white

18.68
#0F0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E2F
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E2F#FFFFFF#000000##FFFFFF
##0F0E2F1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#02161C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0e2f;
/* rgb */ color: rgb(15, 14, 47);
/* oklch */ color: oklch(18.9% 0.064 279.7);
Tailwind
colors: {
  custom: {
    50: '#504d68',
    500: '#0f0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e2f;
$custom-light: #504d68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e2f",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 241.818,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18889,
    "c": 0.06405,
    "h": 279.7
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#0F0E2F
secondary
#68692F
accent
#DD4AD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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