#0F0E47#0F0E47

#0F0E47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.102 H 274.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0F0E47
RGBrgb(15, 14, 71)
HSLhsl(241, 67%, 17%)
HSVhsv(241, 80%, 28%)
CMYKcmyk(78.9%, 80.3%, 0%, 72.2%)
CIE-LABlab(7.86, 22.31, -35.17)
CIE-LCHlch(7.86, 41.65, 302.39°)
OKLaboklab(21.52% 0.0078 -0.1017)
OKLCHoklch(21.52% 0.102 274.4)
XYZxyz(1.4910, 0.8704, 6.0494)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0E47 #46470E
analogous
#0E2A47 #0F0E47 #2C0E47
triadic
#0F0E47 #470F0E #0E470F
tetradic
#0F0E47 #470E2A #46470E #0E472C
square
#0F0E47 #470E2A #46470E #0E472C
split-complementary
#0F0E47 #472C0E #2A470E
monochromatic
#05051A #05051A #0F0E47 #1A187A #2522AD

Accessibility & contrast

On white

17.88
#0F0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0E47
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0E47#FFFFFF#000000##FFFFFF
##0F0E471.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0e47;
/* rgb */ color: rgb(15, 14, 71);
/* oklch */ color: oklch(21.5% 0.102 274.4);
Tailwind
colors: {
  custom: {
    50: '#584d7b',
    500: '#0f0e47',
    950: '#000000',
  },
}
SCSS
$custom: #0f0e47;
$custom-light: #584d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0e47",
  "rgb": {
    "r": 15,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 241.053,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21516,
    "c": 0.10201,
    "h": 274.4
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#0F0E47
secondary
#80822F
accent
#EA3EE7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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