#0B0939#0B0939

#0B0939 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.089 H 275.3°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#0B0939
RGBrgb(11, 9, 57)
HSLhsl(243, 73%, 13%)
HSVhsv(243, 84%, 22%)
CMYKcmyk(80.7%, 84.2%, 0%, 77.6%)
CIE-LABlab(5.07, 17.76, -29.74)
CIE-LCHlch(5.07, 34.65, 300.85°)
OKLaboklab(18.62% 0.0083 -0.0882)
OKLCHoklch(18.62% 0.089 275.3)
XYZxyz(0.9740, 0.5618, 3.9272)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0939 #373909
analogous
#091F39 #0B0939 #230939
triadic
#0B0939 #390B09 #09390B
tetradic
#0B0939 #39091F #373909 #093923
square
#0B0939 #39091F #373909 #093923
split-complementary
#0B0939 #392309 #1F3909
monochromatic
#05041A #05041A #0B0939 #15116E #1F1AA3

Accessibility & contrast

On white

18.88
#0B0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0B0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0939
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0939#FFFFFF#000000##FFFFFF
##0B09391.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0b0939;
/* rgb */ color: rgb(11, 9, 57);
/* oklch */ color: oklch(18.6% 0.089 275.3);
Tailwind
colors: {
  custom: {
    50: '#514a70',
    500: '#0b0939',
    950: '#000000',
  },
}
SCSS
$custom: #0b0939;
$custom-light: #514a70;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0939",
  "rgb": {
    "r": 11,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 242.5,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18619,
    "c": 0.08862,
    "h": 275.3
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#0B0939
secondary
#747727
accent
#EF38E8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0B0939

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

Preview Lab → · Contrast checker → · Palette generator →

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