#0B012E#0B012E

#0B012E is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.3% C 0.086 H 283.5°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#0B012E
RGBrgb(11, 1, 46)
HSLhsl(253, 96%, 9%)
HSVhsv(253, 98%, 18%)
CMYKcmyk(76.1%, 97.8%, 0%, 82%)
CIE-LABlab(2.62, 15.00, -25.54)
CIE-LCHlch(2.62, 29.62, 300.43°)
OKLaboklab(15.35% 0.0202 -0.0839)
OKLCHoklch(15.35% 0.086 283.5)
XYZxyz(0.6419, 0.2901, 2.6064)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B012E #242E01
analogous
#010E2E #0B012E #22012E
triadic
#0B012E #2E0B01 #012E0B
tetradic
#0B012E #2E010E #242E01 #012E22
square
#0B012E #2E010E #242E01 #012E22
split-complementary
#0B012E #2E2201 #0E2E01
monochromatic
#07011E #07011E #0B012E #19026A #2804A6

Accessibility & contrast

On white

19.85
#0B012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0B012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B012E
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B012E#FFFFFF#000000##FFFFFF
##0B012E1.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2F
Deuteranopia (green-blind)
#00082D
Tritanopia (blue-blind)
#000D17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b012e;
/* rgb */ color: rgb(11, 1, 46);
/* oklch */ color: oklch(15.3% 0.086 283.5);
Tailwind
colors: {
  custom: {
    50: '#4d4767',
    500: '#0b012e',
    950: '#000000',
  },
}
SCSS
$custom: #0b012e;
$custom-light: #4d4767;
$custom-dark: #000000;
JSON
{
  "hex": "#0b012e",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 253.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1535,
    "c": 0.08631,
    "h": 283.5
  },
  "luminance": 0.0029
}

Semantic roles & 50–950 ramp

primary
#0B012E
secondary
#5F7417
accent
#FF29CF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B012E

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

Preview Lab → · Contrast checker → · Palette generator →

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