#0F0E2D#0F0E2D

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

Color values

HEX#0F0E2D
RGBrgb(15, 14, 45)
HSLhsl(242, 53%, 12%)
HSVhsv(242, 69%, 18%)
CMYKcmyk(66.7%, 68.9%, 0%, 82.4%)
CIE-LABlab(5.46, 10.34, -20.25)
CIE-LCHlch(5.46, 22.74, 297.05°)
OKLaboklab(18.7% 0.0108 -0.0596)
OKLCHoklch(18.7% 0.061 280.2)
XYZxyz(0.8275, 0.6050, 2.5553)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E2D #2C2D0E
analogous
#0E1D2D #0F0E2D #1F0E2D
triadic
#0F0E2D #2D0F0E #0E2D0F
tetradic
#0F0E2D #2D0E1D #2C2D0E #0E2D1F
square
#0F0E2D #2D0E1D #2C2D0E #0E2D1F
split-complementary
#0F0E2D #2D1F0E #1D2D0E
monochromatic
#080717 #080717 #0F0E2D #1F1D5C #2E2B8A

Accessibility & contrast

On white

18.73
#0F0E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E2D
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E2D#FFFFFF#000000##FFFFFF
##0F0E2D1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0e2d;
/* rgb */ color: rgb(15, 14, 45);
/* oklch */ color: oklch(18.7% 0.061 280.2);
Tailwind
colors: {
  custom: {
    50: '#504d66',
    500: '#0f0e2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e2d;
$custom-light: #504d66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e2d",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 241.935,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18697,
    "c": 0.06057,
    "h": 280.2
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#0F0E2D
secondary
#656730
accent
#DC4CD7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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