#0F0E27#0F0E27

#0F0E27 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.050 H 282.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#0F0E27
RGBrgb(15, 14, 39)
HSLhsl(242, 47%, 10%)
HSVhsv(242, 64%, 15%)
CMYKcmyk(61.5%, 64.1%, 0%, 84.7%)
CIE-LABlab(5.08, 7.61, -16.34)
CIE-LCHlch(5.08, 18.02, 294.98°)
OKLaboklab(18.15% 0.0104 -0.0487)
OKLCHoklch(18.15% 0.05 282)
XYZxyz(0.7201, 0.5621, 1.9896)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E27 #26270E
analogous
#0E1927 #0F0E27 #1B0E27
triadic
#0F0E27 #270F0E #0E270F
tetradic
#0F0E27 #270E19 #26270E #0E271B
square
#0F0E27 #270E19 #26270E #0E271B
split-complementary
#0F0E27 #271B0E #19270E
monochromatic
#090817 #090817 #0F0E27 #201E54 #322E81

Accessibility & contrast

On white

18.88
#0F0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0E27
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E27#FFFFFF#000000##FFFFFF
##0F0E271.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#031026
Tritanopia (blue-blind)
#071318
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0e27;
/* rgb */ color: rgb(15, 14, 39);
/* oklch */ color: oklch(18.1% 0.050 282.0);
Tailwind
colors: {
  custom: {
    50: '#4e4d61',
    500: '#0f0e27',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e27;
$custom-light: #4e4d61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e27",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 242.4,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1815,
    "c": 0.04983,
    "h": 282
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#0F0E27
secondary
#5E6030
accent
#D751D1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #0F0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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