#0B0B48#0B0B48

#0B0B48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.108 H 272.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0B0B48
RGBrgb(11, 11, 72)
HSLhsl(240, 73%, 16%)
HSVhsv(240, 85%, 28%)
CMYKcmyk(84.7%, 84.7%, 0%, 71.8%)
CIE-LABlab(7.03, 24.08, -37.26)
CIE-LCHlch(7.03, 44.36, 302.88°)
OKLaboklab(20.86% 0.0037 -0.1081)
OKLCHoklch(20.86% 0.108 272)
XYZxyz(1.4270, 0.7782, 6.2046)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B48 #48480B
analogous
#0B2A48 #0B0B48 #2A0B48
triadic
#0B0B48 #480B0B #0B480B
tetradic
#0B0B48 #480B2A #48480B #0B482A
square
#0B0B48 #480B2A #48480B #0B482A
split-complementary
#0B0B48 #482A0B #2A480B
monochromatic
#04041B #04041B #0B0B48 #13137D #1B1BB2

Accessibility & contrast

On white

18.17
#0B0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B48
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B48#FFFFFF#000000##FFFFFF
##0B0B481.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0b48;
/* rgb */ color: rgb(11, 11, 72);
/* oklch */ color: oklch(20.9% 0.108 272.0);
Tailwind
colors: {
  custom: {
    50: '#574b7c',
    500: '#0b0b48',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b48;
$custom-light: #574b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b48",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 240,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.20855,
    "c": 0.10812,
    "h": 272
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#0B0B48
secondary
#84842A
accent
#F038F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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