#0F0D2C#0F0D2C

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

Color values

HEX#0F0D2C
RGBrgb(15, 13, 44)
HSLhsl(244, 54%, 11%)
HSVhsv(244, 70%, 17%)
CMYKcmyk(65.9%, 70.5%, 0%, 82.7%)
CIE-LABlab(5.16, 10.34, -19.99)
CIE-LCHlch(5.16, 22.50, 297.36°)
OKLaboklab(18.37% 0.0121 -0.0593)
OKLCHoklch(18.37% 0.061 281.5)
XYZxyz(0.7954, 0.5712, 2.4507)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D2C #2A2C0D
analogous
#0D1A2C #0F0D2C #1E0D2C
triadic
#0F0D2C #2C0F0D #0D2C0F
tetradic
#0F0D2C #2C0D1A #2A2C0D #0D2C1E
square
#0F0D2C #2C0D1A #2A2C0D #0D2C1E
split-complementary
#0F0D2C #2C1E0D #1A2C0D
monochromatic
#080718 #080718 #0F0D2C #1F1B5B #2F298A

Accessibility & contrast

On white

18.85
#0F0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D2C
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D2C#FFFFFF#000000##FFFFFF
##0F0D2C1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#04141A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0d2c;
/* rgb */ color: rgb(15, 13, 44);
/* oklch */ color: oklch(18.4% 0.061 281.5);
Tailwind
colors: {
  custom: {
    50: '#4f4c65',
    500: '#0f0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d2c;
$custom-light: #4f4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d2c",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 243.871,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1837,
    "c": 0.06055,
    "h": 281.5
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#0F0D2C
secondary
#63672E
accent
#DE4AD4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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