#0F0D2E#0F0D2E

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

Color values

HEX#0F0D2E
RGBrgb(15, 13, 46)
HSLhsl(244, 56%, 12%)
HSVhsv(244, 72%, 18%)
CMYKcmyk(67.4%, 71.7%, 0%, 82%)
CIE-LABlab(5.30, 11.32, -21.26)
CIE-LCHlch(5.30, 24.09, 298.03°)
OKLaboklab(18.57% 0.0121 -0.0628)
OKLCHoklch(18.57% 0.064 280.9)
XYZxyz(0.8339, 0.5866, 2.6535)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D2E #2C2E0D
analogous
#0D1C2E #0F0D2E #200D2E
triadic
#0F0D2E #2E0F0D #0D2E0F
tetradic
#0F0D2E #2E0D1C #2C2E0D #0D2E20
square
#0F0D2E #2E0D1C #2C2E0D #0D2E20
split-complementary
#0F0D2E #2E200D #1C2E0D
monochromatic
#080718 #080718 #0F0D2E #1F1A5E #2E288D

Accessibility & contrast

On white

18.79
#0F0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D2E
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D2E#FFFFFF#000000##FFFFFF
##0F0D2E1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0d2e;
/* rgb */ color: rgb(15, 13, 46);
/* oklch */ color: oklch(18.6% 0.064 280.9);
Tailwind
colors: {
  custom: {
    50: '#504c67',
    500: '#0f0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d2e;
$custom-light: #504c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d2e",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 243.636,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18565,
    "c": 0.064,
    "h": 280.9
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#0F0D2E
secondary
#65692E
accent
#DF49D6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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