#0B1B45#0B1B45

#0B1B45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.082 H 265.0°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#0B1B45
RGBrgb(11, 27, 69)
HSLhsl(223, 73%, 16%)
HSVhsv(223, 84%, 27%)
CMYKcmyk(84.1%, 60.9%, 0%, 72.9%)
CIE-LABlab(11.17, 11.14, -28.38)
CIE-LCHlch(11.17, 30.49, 291.44°)
OKLaboklab(23.82% -0.0072 -0.0818)
OKLCHoklch(23.82% 0.082 265)
XYZxyz(1.6037, 1.2845, 5.7925)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B45 #45350B
analogous
#0B3845 #0B1B45 #180B45
triadic
#0B1B45 #450B1B #1B450B
tetradic
#0B1B45 #450B38 #45350B #0B4518
square
#0B1B45 #450B38 #45350B #0B4518
split-complementary
#0B1B45 #45180B #38450B
monochromatic
#040A1A #040A1A #0B1B45 #13307A #1C44AF

Accessibility & contrast

On white

16.71
#0B1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0B1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1B45
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B45#FFFFFF#000000##FFFFFF
##0B1B451.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002146
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1b45;
/* rgb */ color: rgb(11, 27, 69);
/* oklch */ color: oklch(23.8% 0.082 265.0);
Tailwind
colors: {
  custom: {
    50: '#545679',
    500: '#0b1b45',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b45;
$custom-light: #545679;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b45",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 223.448,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23821,
    "c": 0.0821,
    "h": 265
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#0B1B45
secondary
#81692A
accent
#BD39EF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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