#0F0931#0F0931

#0F0931 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.075 H 282.7°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#0F0931
RGBrgb(15, 9, 49)
HSLhsl(249, 69%, 11%)
HSVhsv(249, 82%, 19%)
CMYKcmyk(69.4%, 81.6%, 0%, 80.8%)
CIE-LABlab(4.68, 14.58, -24.48)
CIE-LCHlch(4.68, 28.49, 300.78°)
OKLaboklab(18.05% 0.0165 -0.0735)
OKLCHoklch(18.05% 0.075 282.7)
XYZxyz(0.8489, 0.5186, 2.9605)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0931 #2B3109
analogous
#091731 #0F0931 #230931
triadic
#0F0931 #310F09 #09310F
tetradic
#0F0931 #310917 #2B3109 #093123
square
#0F0931 #310917 #2B3109 #093123
split-complementary
#0F0931 #312309 #173109
monochromatic
#08051A #08051A #0F0931 #1F1265 #2F1C98

Accessibility & contrast

On white

19.03
#0F0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F0931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0931
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0931#FFFFFF#000000##FFFFFF
##0F09311.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#01131B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0931;
/* rgb */ color: rgb(15, 9, 49);
/* oklch */ color: oklch(18.0% 0.075 282.7);
Tailwind
colors: {
  custom: {
    50: '#514a69',
    500: '#0f0931',
    950: '#000000',
  },
}
SCSS
$custom: #0f0931;
$custom-light: #514a69;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0931",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 249,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18047,
    "c": 0.07529,
    "h": 282.7
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#0F0931
secondary
#646F27
accent
#EC3CD1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0931

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

Preview Lab → · Contrast checker → · Palette generator →

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