#0F0946#0F0946

#0F0946 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.6% C 0.106 H 276.0°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#0F0946
RGBrgb(15, 9, 70)
HSLhsl(246, 77%, 15%)
HSVhsv(246, 87%, 27%)
CMYKcmyk(78.6%, 87.1%, 0%, 72.5%)
CIE-LABlab(6.68, 24.82, -36.42)
CIE-LCHlch(6.68, 44.08, 304.27°)
OKLaboklab(20.58% 0.0111 -0.1057)
OKLCHoklch(20.58% 0.106 276)
XYZxyz(1.3998, 0.7390, 5.8620)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0946 #404609
analogous
#092146 #0F0946 #2D0946
triadic
#0F0946 #460F09 #09460F
tetradic
#0F0946 #460921 #404609 #09462D
square
#0F0946 #460921 #404609 #09462D
split-complementary
#0F0946 #462D09 #214609
monochromatic
#06031B #06031B #0F0946 #1B107C #2617B2

Accessibility & contrast

On white

18.30
#0F0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0946
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0946#FFFFFF#000000##FFFFFF
##0F09461.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0946;
/* rgb */ color: rgb(15, 9, 70);
/* oklch */ color: oklch(20.6% 0.106 276.0);
Tailwind
colors: {
  custom: {
    50: '#584a7a',
    500: '#0f0946',
    950: '#000000',
  },
}
SCSS
$custom: #0f0946;
$custom-light: #584a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0946",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 245.902,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20584,
    "c": 0.10628,
    "h": 276
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F0946

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

Preview Lab → · Contrast checker → · Palette generator →

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