#0B032E#0B032E

#0B032E is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.082 H 282.3°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#0B032E
RGBrgb(11, 3, 46)
HSLhsl(251, 88%, 10%)
HSVhsv(251, 93%, 18%)
CMYKcmyk(76.1%, 93.5%, 0%, 82%)
CIE-LABlab(3.01, 14.20, -24.91)
CIE-LCHlch(3.01, 28.68, 299.68°)
OKLaboklab(15.89% 0.0175 -0.0802)
OKLCHoklch(15.89% 0.082 282.3)
XYZxyz(0.6636, 0.3335, 2.6136)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032E #262E03
analogous
#03112E #0B032E #21032E
triadic
#0B032E #2E0B03 #032E0B
tetradic
#0B032E #2E0311 #262E03 #032E21
square
#0B032E #2E0311 #262E03 #032E21
split-complementary
#0B032E #2E2103 #112E03
monochromatic
#07021D #07021D #0B032E #190767 #260AA1

Accessibility & contrast

On white

19.69
#0B032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B032E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B032E
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B032E#FFFFFF#000000##FFFFFF
##0B032E1.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b032e;
/* rgb */ color: rgb(11, 3, 46);
/* oklch */ color: oklch(15.9% 0.082 282.3);
Tailwind
colors: {
  custom: {
    50: '#4d4867',
    500: '#0b032e',
    950: '#000000',
  },
}
SCSS
$custom: #0b032e;
$custom-light: #4d4867;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032e",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 251.163,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15887,
    "c": 0.08211,
    "h": 282.3
  },
  "luminance": 0.00334
}

Semantic roles & 50–950 ramp

primary
#0B032E
secondary
#62721B
accent
#FE2AD6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B032E

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

Preview Lab → · Contrast checker → · Palette generator →

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