#0F0941#0F0941

#0F0941 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.099 H 277.3°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#0F0941
RGBrgb(15, 9, 65)
HSLhsl(246, 76%, 15%)
HSVhsv(246, 86%, 25%)
CMYKcmyk(76.9%, 86.2%, 0%, 74.5%)
CIE-LABlab(6.13, 22.59, -33.78)
CIE-LCHlch(6.13, 40.64, 303.78°)
OKLaboklab(19.95% 0.0126 -0.0984)
OKLCHoklch(19.95% 0.099 277.3)
XYZxyz(1.2485, 0.6785, 5.0652)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0941 #3B4109
analogous
#091F41 #0F0941 #2B0941
triadic
#0F0941 #410F09 #09410F
tetradic
#0F0941 #41091F #3B4109 #09412B
square
#0F0941 #41091F #3B4109 #09412B
split-complementary
#0F0941 #412B09 #1F4109
monochromatic
#06041B #06041B #0F0941 #1B1077 #2818AD

Accessibility & contrast

On white

18.49
#0F0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0941
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0941#FFFFFF#000000##FFFFFF
##0F09411.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0941;
/* rgb */ color: rgb(15, 9, 65);
/* oklch */ color: oklch(20.0% 0.099 277.3);
Tailwind
colors: {
  custom: {
    50: '#564a76',
    500: '#0f0941',
    950: '#000000',
  },
}
SCSS
$custom: #0f0941;
$custom-light: #564a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0941",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 246.429,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19951,
    "c": 0.09924,
    "h": 277.3
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#0F0941
secondary
#757F27
accent
#F236DE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0941

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

Preview Lab → · Contrast checker → · Palette generator →

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