#0B0940#0B0940

#0B0940 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.099 H 273.8°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#0B0940
RGBrgb(11, 9, 64)
HSLhsl(242, 75%, 14%)
HSVhsv(242, 86%, 25%)
CMYKcmyk(82.8%, 85.9%, 0%, 74.9%)
CIE-LABlab(5.75, 21.39, -33.69)
CIE-LCHlch(5.75, 39.91, 302.41°)
OKLaboklab(19.5% 0.0066 -0.0987)
OKLCHoklch(19.5% 0.099 273.8)
XYZxyz(1.1608, 0.6366, 4.9112)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0940 #3E4009
analogous
#092340 #0B0940 #270940
triadic
#0B0940 #400B09 #09400B
tetradic
#0B0940 #400923 #3E4009 #094027
square
#0B0940 #400923 #3E4009 #094027
split-complementary
#0B0940 #402709 #234009
monochromatic
#05041B #05041B #0B0940 #141176 #1D18AB

Accessibility & contrast

On white

18.63
#0B0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B0940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0940
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0940#FFFFFF#000000##FFFFFF
##0B09401.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0940;
/* rgb */ color: rgb(11, 9, 64);
/* oklch */ color: oklch(19.5% 0.099 273.8);
Tailwind
colors: {
  custom: {
    50: '#544a75',
    500: '#0b0940',
    950: '#000000',
  },
}
SCSS
$custom: #0b0940;
$custom-light: #544a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0940",
  "rgb": {
    "r": 11,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 242.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19501,
    "c": 0.09895,
    "h": 273.8
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#0B0940
secondary
#7B7E27
accent
#F236EB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0940

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

Preview Lab → · Contrast checker → · Palette generator →

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