#0F1047#0F1047

#0F1047 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.099 H 273.7°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0F1047
RGBrgb(15, 16, 71)
HSLhsl(239, 65%, 17%)
HSVhsv(239, 79%, 28%)
CMYKcmyk(78.9%, 77.5%, 0%, 72.2%)
CIE-LABlab(8.37, 20.92, -34.34)
CIE-LCHlch(8.37, 40.21, 301.35°)
OKLaboklab(21.88% 0.0065 -0.0993)
OKLCHoklch(21.88% 0.099 273.7)
XYZxyz(1.5192, 0.9269, 6.0589)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1047 #47460F
analogous
#0F2C47 #0F1047 #2A0F47
triadic
#0F1047 #470F10 #10470F
tetradic
#0F1047 #470F2C #47460F #0F472A
square
#0F1047 #470F2C #47460F #0F472A
split-complementary
#0F1047 #472A0F #2C470F
monochromatic
#050619 #050619 #0F1047 #1A1B7A #2427AC

Accessibility & contrast

On white

17.72
#0F1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1047
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1047#FFFFFF#000000##FFFFFF
##0F10471.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1047;
/* rgb */ color: rgb(15, 16, 71);
/* oklch */ color: oklch(21.9% 0.099 273.7);
Tailwind
colors: {
  custom: {
    50: '#584e7b',
    500: '#0f1047',
    950: '#000000',
  },
}
SCSS
$custom: #0f1047;
$custom-light: #584e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1047",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 238.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21879,
    "c": 0.09949,
    "h": 273.7
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#0F1047
secondary
#818030
accent
#E540E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F1047

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

Preview Lab → · Contrast checker → · Palette generator →

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