#0B042E#0B042E

#0B042E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.1% C 0.080 H 281.7°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0B042E
RGBrgb(11, 4, 46)
HSLhsl(250, 84%, 10%)
HSVhsv(250, 91%, 18%)
CMYKcmyk(76.1%, 91.3%, 0%, 82%)
CIE-LABlab(3.21, 13.80, -24.60)
CIE-LCHlch(3.21, 28.21, 299.28°)
OKLaboklab(16.14% 0.0162 -0.0785)
OKLCHoklch(16.14% 0.08 281.7)
XYZxyz(0.6744, 0.3552, 2.6173)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B042E #272E04
analogous
#04122E #0B042E #20042E
triadic
#0B042E #2E0B04 #042E0B
tetradic
#0B042E #2E0412 #272E04 #042E20
square
#0B042E #2E0412 #272E04 #042E20
split-complementary
#0B042E #2E2004 #122E04
monochromatic
#07021C #07021C #0B042E #180966 #260E9F

Accessibility & contrast

On white

19.61
#0B042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B042E
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B042E#FFFFFF#000000##FFFFFF
##0B042E1.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000A2D
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b042e;
/* rgb */ color: rgb(11, 4, 46);
/* oklch */ color: oklch(16.1% 0.080 281.7);
Tailwind
colors: {
  custom: {
    50: '#4d4867',
    500: '#0b042e',
    950: '#000000',
  },
}
SCSS
$custom: #0b042e;
$custom-light: #4d4867;
$custom-dark: #000000;
JSON
{
  "hex": "#0b042e",
  "rgb": {
    "r": 11,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 250,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16142,
    "c": 0.08014,
    "h": 281.7
  },
  "luminance": 0.00355
}

Semantic roles & 50–950 ramp

primary
#0B042E
secondary
#63711D
accent
#FA2ED8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B042E

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

Preview Lab → · Contrast checker → · Palette generator →

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