#0F0947#0F0947

#0F0947 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.108 H 275.8°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#0F0947
RGBrgb(15, 9, 71)
HSLhsl(246, 78%, 16%)
HSVhsv(246, 87%, 28%)
CMYKcmyk(78.9%, 87.3%, 0%, 72.2%)
CIE-LABlab(6.79, 25.25, -36.94)
CIE-LCHlch(6.79, 44.74, 304.35°)
OKLaboklab(20.71% 0.0108 -0.1071)
OKLCHoklch(20.71% 0.108 275.8)
XYZxyz(1.4316, 0.7517, 6.0297)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0947 #414709
analogous
#092247 #0F0947 #2E0947
triadic
#0F0947 #470F09 #09470F
tetradic
#0F0947 #470922 #414709 #09472E
square
#0F0947 #470922 #414709 #09472E
split-complementary
#0F0947 #472E09 #224709
monochromatic
#06031B #06031B #0F0947 #1A107D #2617B4

Accessibility & contrast

On white

18.25
#0F0947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0947
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0947#FFFFFF#000000##FFFFFF
##0F09471.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0947;
/* rgb */ color: rgb(15, 9, 71);
/* oklch */ color: oklch(20.7% 0.108 275.8);
Tailwind
colors: {
  custom: {
    50: '#584a7b',
    500: '#0f0947',
    950: '#000000',
  },
}
SCSS
$custom: #0f0947;
$custom-light: #584a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0947",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 245.806,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20712,
    "c": 0.10768,
    "h": 275.8
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#0F0947
secondary
#7B8427
accent
#F434E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0947

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

Preview Lab → · Contrast checker → · Palette generator →

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