#0B1340#0B1340

#0B1340 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.086 H 269.8°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#0B1340
RGBrgb(11, 19, 64)
HSLhsl(231, 71%, 15%)
HSVhsv(231, 83%, 25%)
CMYKcmyk(82.8%, 70.3%, 0%, 74.9%)
CIE-LABlab(8.19, 15.18, -29.70)
CIE-LCHlch(8.19, 33.36, 297.07°)
OKLaboklab(21.45% -0.0004 -0.0858)
OKLCHoklch(21.45% 0.086 269.8)
XYZxyz(1.2960, 0.9069, 4.9562)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1340 #40380B
analogous
#0B2E40 #0B1340 #1D0B40
triadic
#0B1340 #400B13 #13400B
tetradic
#0B1340 #400B2E #40380B #0B401D
square
#0B1340 #400B2E #40380B #0B401D
split-complementary
#0B1340 #401D0B #2E400B
monochromatic
#04081A #04081A #0B1340 #142374 #1D32A8

Accessibility & contrast

On white

17.78
#0B1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1340
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1340#FFFFFF#000000##FFFFFF
##0B13401.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b1340;
/* rgb */ color: rgb(11, 19, 64);
/* oklch */ color: oklch(21.4% 0.086 269.8);
Tailwind
colors: {
  custom: {
    50: '#535075',
    500: '#0b1340',
    950: '#000000',
  },
}
SCSS
$custom: #0b1340;
$custom-light: #535075;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1340",
  "rgb": {
    "r": 11,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 230.943,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21448,
    "c": 0.08579,
    "h": 269.8
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#0B1340
secondary
#7D702A
accent
#D23AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1340

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

Preview Lab → · Contrast checker → · Palette generator →

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