#0B022E#0B022E

#0B022E is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.084 H 282.9°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#0B022E
RGBrgb(11, 2, 46)
HSLhsl(252, 92%, 9%)
HSVhsv(252, 96%, 18%)
CMYKcmyk(76.1%, 95.7%, 0%, 82%)
CIE-LABlab(2.82, 14.60, -25.22)
CIE-LCHlch(2.82, 29.14, 300.06°)
OKLaboklab(15.62% 0.0188 -0.082)
OKLCHoklch(15.62% 0.084 282.9)
XYZxyz(0.6527, 0.3118, 2.6100)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B022E #252E02
analogous
#020F2E #0B022E #21022E
triadic
#0B022E #2E0B02 #022E0B
tetradic
#0B022E #2E020F #252E02 #022E21
square
#0B022E #2E020F #252E02 #022E21
split-complementary
#0B022E #2E2102 #0F2E02
monochromatic
#07011D #07011D #0B022E #190569 #2707A3

Accessibility & contrast

On white

19.77
#0B022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B022E
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B022E#FFFFFF#000000##FFFFFF
##0B022E1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2F
Deuteranopia (green-blind)
#00092D
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b022e;
/* rgb */ color: rgb(11, 2, 46);
/* oklch */ color: oklch(15.6% 0.084 282.9);
Tailwind
colors: {
  custom: {
    50: '#4d4767',
    500: '#0b022e',
    950: '#000000',
  },
}
SCSS
$custom: #0b022e;
$custom-light: #4d4767;
$custom-dark: #000000;
JSON
{
  "hex": "#0b022e",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 252.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15623,
    "c": 0.08417,
    "h": 282.9
  },
  "luminance": 0.00312
}

Semantic roles & 50–950 ramp

primary
#0B022E
secondary
#607319
accent
#FF29D3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B022E

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

Preview Lab → · Contrast checker → · Palette generator →

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