#0F0D47#0F0D47

#0F0D47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.103 H 274.7°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#0F0D47
RGBrgb(15, 13, 71)
HSLhsl(242, 69%, 16%)
HSVhsv(242, 82%, 28%)
CMYKcmyk(78.9%, 81.7%, 0%, 72.2%)
CIE-LABlab(7.63, 22.96, -35.56)
CIE-LCHlch(7.63, 42.33, 302.85°)
OKLaboklab(21.34% 0.0085 -0.1029)
OKLCHoklch(21.34% 0.103 274.7)
XYZxyz(1.4779, 0.8442, 6.0451)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D47 #45470D
analogous
#0D2847 #0F0D47 #2C0D47
triadic
#0F0D47 #470F0D #0D470F
tetradic
#0F0D47 #470D28 #45470D #0D472C
square
#0F0D47 #470D28 #45470D #0D472C
split-complementary
#0F0D47 #472C0D #28470D
monochromatic
#05051A #05051A #0F0D47 #1A167B #2520AE

Accessibility & contrast

On white

17.97
#0F0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D47
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D47#FFFFFF#000000##FFFFFF
##0F0D471.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0d47;
/* rgb */ color: rgb(15, 13, 71);
/* oklch */ color: oklch(21.3% 0.103 274.7);
Tailwind
colors: {
  custom: {
    50: '#584c7b',
    500: '#0f0d47',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d47;
$custom-light: #584c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d47",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 242.069,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21344,
    "c": 0.10321,
    "h": 274.7
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#0F0D47
secondary
#7F822D
accent
#EC3CE6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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