#0B1B48#0B1B48

#0B1B48 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.087 H 265.4°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#0B1B48
RGBrgb(11, 27, 72)
HSLhsl(224, 73%, 16%)
HSVhsv(224, 85%, 28%)
CMYKcmyk(84.7%, 62.5%, 0%, 71.8%)
CIE-LABlab(11.43, 12.49, -30.04)
CIE-LCHlch(11.43, 32.53, 292.58°)
OKLaboklab(24.11% -0.0069 -0.0866)
OKLCHoklch(24.11% 0.087 265.4)
XYZxyz(1.6992, 1.3227, 6.2954)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B48 #48380B
analogous
#0B3A48 #0B1B48 #1A0B48
triadic
#0B1B48 #480B1B #1B480B
tetradic
#0B1B48 #480B3A #48380B #0B481A
square
#0B1B48 #480B3A #48380B #0B481A
split-complementary
#0B1B48 #481A0B #3A480B
monochromatic
#040A1B #040A1B #0B1B48 #132F7D #1B43B2

Accessibility & contrast

On white

16.61
#0B1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1B48
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B48#FFFFFF#000000##FFFFFF
##0B1B481.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1b48;
/* rgb */ color: rgb(11, 27, 72);
/* oklch */ color: oklch(24.1% 0.087 265.4);
Tailwind
colors: {
  custom: {
    50: '#55567b',
    500: '#0b1b48',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b48;
$custom-light: #55567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b48",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 224.262,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24106,
    "c": 0.08693,
    "h": 265.4
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#0B1B48
secondary
#846D2A
accent
#C038F0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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