#0F0F47#0F0F47

#0F0F47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.101 H 274.1°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#0F0F47
RGBrgb(15, 15, 71)
HSLhsl(240, 65%, 17%)
HSVhsv(240, 79%, 28%)
CMYKcmyk(78.9%, 78.9%, 0%, 72.2%)
CIE-LABlab(8.11, 21.62, -34.76)
CIE-LCHlch(8.11, 40.94, 301.88°)
OKLaboklab(21.69% 0.0072 -0.1005)
OKLCHoklch(21.69% 0.101 274.1)
XYZxyz(1.5048, 0.8980, 6.0540)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F47 #47470F
analogous
#0F2B47 #0F0F47 #2B0F47
triadic
#0F0F47 #470F0F #0F470F
tetradic
#0F0F47 #470F2B #47470F #0F472B
square
#0F0F47 #470F2B #47470F #0F472B
split-complementary
#0F0F47 #472B0F #2B470F
monochromatic
#050519 #050519 #0F0F47 #1A1A7A #2424AC

Accessibility & contrast

On white

17.80
#0F0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F47
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F47#FFFFFF#000000##FFFFFF
##0F0F471.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0f47;
/* rgb */ color: rgb(15, 15, 71);
/* oklch */ color: oklch(21.7% 0.101 274.1);
Tailwind
colors: {
  custom: {
    50: '#584d7b',
    500: '#0f0f47',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f47;
$custom-light: #584d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f47",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 240,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21694,
    "c": 0.10076,
    "h": 274.1
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#0F0F47
secondary
#818130
accent
#E840E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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