#0B1145#0B1145

#0B1145 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.096 H 270.5°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#0B1145
RGBrgb(11, 17, 69)
HSLhsl(234, 73%, 16%)
HSVhsv(234, 84%, 27%)
CMYKcmyk(84.1%, 75.4%, 0%, 72.9%)
CIE-LABlab(8.14, 18.86, -33.32)
CIE-LCHlch(8.14, 38.28, 299.51°)
OKLaboklab(21.58% 0.0008 -0.0964)
OKLCHoklch(21.58% 0.096 270.5)
XYZxyz(1.4123, 0.9016, 5.7287)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1145 #453F0B
analogous
#0B2E45 #0B1145 #220B45
triadic
#0B1145 #450B11 #11450B
tetradic
#0B1145 #450B2E #453F0B #0B4522
square
#0B1145 #450B2E #453F0B #0B4522
split-complementary
#0B1145 #45220B #2E450B
monochromatic
#04071A #04071A #0B1145 #131E7A #1C2BAF

Accessibility & contrast

On white

17.79
#0B1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1145
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1145#FFFFFF#000000##FFFFFF
##0B11451.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b1145;
/* rgb */ color: rgb(11, 17, 69);
/* oklch */ color: oklch(21.6% 0.096 270.5);
Tailwind
colors: {
  custom: {
    50: '#554f79',
    500: '#0b1145',
    950: '#000000',
  },
}
SCSS
$custom: #0b1145;
$custom-light: #554f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1145",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 233.793,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21576,
    "c": 0.09639,
    "h": 270.5
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#0B1145
secondary
#81782A
accent
#DC39EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1145

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

Preview Lab → · Contrast checker → · Palette generator →

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