#0B0840#0B0840

#0B0840 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.100 H 274.1°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#0B0840
RGBrgb(11, 8, 64)
HSLhsl(243, 78%, 14%)
HSVhsv(243, 88%, 25%)
CMYKcmyk(82.8%, 87.5%, 0%, 74.9%)
CIE-LABlab(5.55, 21.88, -34.01)
CIE-LCHlch(5.55, 40.44, 302.75°)
OKLaboklab(19.33% 0.0072 -0.0999)
OKLCHoklch(19.33% 0.1 274.1)
XYZxyz(1.1500, 0.6149, 4.9076)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0840 #3D4008
analogous
#082140 #0B0840 #270840
triadic
#0B0840 #400B08 #08400B
tetradic
#0B0840 #400821 #3D4008 #084027
square
#0B0840 #400821 #3D4008 #084027
split-complementary
#0B0840 #402708 #214008
monochromatic
#05031B #05031B #0B0840 #140F76 #1E16AD

Accessibility & contrast

On white

18.70
#0B0840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0840
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0840#FFFFFF#000000##FFFFFF
##0B08401.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0840;
/* rgb */ color: rgb(11, 8, 64);
/* oklch */ color: oklch(19.3% 0.100 274.1);
Tailwind
colors: {
  custom: {
    50: '#544976',
    500: '#0b0840',
    950: '#000000',
  },
}
SCSS
$custom: #0b0840;
$custom-light: #544976;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0840",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 243.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19328,
    "c": 0.10016,
    "h": 274.1
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#0B0840
secondary
#7A7E25
accent
#F434EA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0840

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

Preview Lab → · Contrast checker → · Palette generator →

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