#0B032B#0B032B

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

Color values

HEX#0B032B
RGBrgb(11, 3, 43)
HSLhsl(252, 87%, 9%)
HSVhsv(252, 93%, 17%)
CMYKcmyk(74.4%, 93%, 0%, 83.1%)
CIE-LABlab(2.81, 12.75, -22.97)
CIE-LCHlch(2.81, 26.27, 299.04°)
OKLaboklab(15.49% 0.0187 -0.0756)
OKLCHoklch(15.49% 0.078 283.9)
XYZxyz(0.6065, 0.3106, 2.3130)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032B #232B03
analogous
#030F2B #0B032B #1F032B
triadic
#0B032B #2B0B03 #032B0B
tetradic
#0B032B #2B030F #232B03 #032B1F
square
#0B032B #2B030F #232B03 #032B1F
split-complementary
#0B032B #2B1F03 #0F2B03
monochromatic
#07021D #07021D #0B032B #1A0764 #280B9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B032B#FFFFFF#000000##FFFFFF
##0B032B1.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)
#000B2C
Deuteranopia (green-blind)
#00092A
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b032b;
/* rgb */ color: rgb(11, 3, 43);
/* oklch */ color: oklch(15.5% 0.078 283.9);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0b032b',
    950: '#000000',
  },
}
SCSS
$custom: #0b032b;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032b",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 252,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15487,
    "c": 0.07784,
    "h": 283.9
  },
  "luminance": 0.00311
}

Semantic roles & 50–950 ramp

primary
#0B032B
secondary
#5E6F1B
accent
#FD2BD3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0B032B

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

Preview Lab → · Contrast checker → · Palette generator →

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