#0F0B47#0F0B47

#0F0B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.106 H 275.3°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#0F0B47
RGBrgb(15, 11, 71)
HSLhsl(244, 73%, 16%)
HSVhsv(244, 85%, 28%)
CMYKcmyk(78.9%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.19, 24.16, -36.29)
CIE-LCHlch(7.19, 43.59, 303.66°)
OKLaboklab(21.02% 0.0097 -0.1051)
OKLCHoklch(21.02% 0.106 275.3)
XYZxyz(1.4536, 0.7957, 6.0370)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B47 #43470B
analogous
#0B2547 #0F0B47 #2D0B47
triadic
#0F0B47 #470F0B #0B470F
tetradic
#0F0B47 #470B25 #43470B #0B472D
square
#0F0B47 #470B25 #43470B #0B472D
split-complementary
#0F0B47 #472D0B #25470B
monochromatic
#06041A #06041A #0F0B47 #1A137C #251BB1

Accessibility & contrast

On white

18.12
#0F0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B47
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B47#FFFFFF#000000##FFFFFF
##0F0B471.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0b47;
/* rgb */ color: rgb(15, 11, 71);
/* oklch */ color: oklch(21.0% 0.106 275.3);
Tailwind
colors: {
  custom: {
    50: '#584b7b',
    500: '#0f0b47',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b47;
$custom-light: #584b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b47",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 244,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21017,
    "c": 0.10551,
    "h": 275.3
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#0F0B47
secondary
#7D832A
accent
#F038E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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