#0F0940#0F0940

#0F0940 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.098 H 277.5°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#0F0940
RGBrgb(15, 9, 64)
HSLhsl(247, 75%, 14%)
HSVhsv(247, 86%, 25%)
CMYKcmyk(76.6%, 85.9%, 0%, 74.9%)
CIE-LABlab(6.03, 22.13, -33.23)
CIE-LCHlch(6.03, 39.93, 303.66°)
OKLaboklab(19.83% 0.0129 -0.097)
OKLCHoklch(19.83% 0.098 277.5)
XYZxyz(1.2198, 0.6670, 4.9140)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0940 #3A4009
analogous
#091F40 #0F0940 #2B0940
triadic
#0F0940 #400F09 #09400F
tetradic
#0F0940 #40091F #3A4009 #09402B
square
#0F0940 #40091F #3A4009 #09402B
split-complementary
#0F0940 #402B09 #1F4009
monochromatic
#06041B #06041B #0F0940 #1C1176 #2818AB

Accessibility & contrast

On white

18.53
#0F0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0940
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0940#FFFFFF#000000##FFFFFF
##0F09401.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0940;
/* rgb */ color: rgb(15, 9, 64);
/* oklch */ color: oklch(19.8% 0.098 277.5);
Tailwind
colors: {
  custom: {
    50: '#564a75',
    500: '#0f0940',
    950: '#000000',
  },
}
SCSS
$custom: #0f0940;
$custom-light: #564a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0940",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 246.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19827,
    "c": 0.09781,
    "h": 277.5
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#0F0940
secondary
#747E27
accent
#F236DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0940

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

Preview Lab → · Contrast checker → · Palette generator →

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