#0B1440#0B1440

#0B1440 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 269.2°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#0B1440
RGBrgb(11, 20, 64)
HSLhsl(230, 71%, 15%)
HSVhsv(230, 83%, 25%)
CMYKcmyk(82.8%, 68.8%, 0%, 74.9%)
CIE-LABlab(8.49, 14.40, -29.21)
CIE-LCHlch(8.49, 32.56, 296.25°)
OKLaboklab(21.67% -0.0012 -0.0843)
OKLCHoklch(21.67% 0.084 269.2)
XYZxyz(1.3133, 0.9415, 4.9620)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1440 #40370B
analogous
#0B2F40 #0B1440 #1C0B40
triadic
#0B1440 #400B14 #14400B
tetradic
#0B1440 #400B2F #40370B #0B401C
square
#0B1440 #400B2F #40370B #0B401C
split-complementary
#0B1440 #401C0B #2F400B
monochromatic
#04081A #04081A #0B1440 #142474 #1D35A8

Accessibility & contrast

On white

17.67
#0B1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0B1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1440
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1440#FFFFFF#000000##FFFFFF
##0B14401.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1440;
/* rgb */ color: rgb(11, 20, 64);
/* oklch */ color: oklch(21.7% 0.084 269.2);
Tailwind
colors: {
  custom: {
    50: '#535175',
    500: '#0b1440',
    950: '#000000',
  },
}
SCSS
$custom: #0b1440;
$custom-light: #535175;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1440",
  "rgb": {
    "r": 11,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 229.811,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21673,
    "c": 0.08434,
    "h": 269.2
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#0B1440
secondary
#7D6F2A
accent
#CF3AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1440

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

Preview Lab → · Contrast checker → · Palette generator →

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