#0B0548#0B0548

#0B0548 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.9% C 0.115 H 273.1°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0B0548
RGBrgb(11, 5, 72)
HSLhsl(245, 87%, 15%)
HSVhsv(245, 93%, 28%)
CMYKcmyk(84.7%, 93.1%, 0%, 71.8%)
CIE-LABlab(5.85, 27.26, -39.20)
CIE-LCHlch(5.85, 47.75, 304.81°)
OKLaboklab(19.9% 0.0063 -0.1145)
OKLCHoklch(19.9% 0.115 273.1)
XYZxyz(1.3616, 0.6474, 6.1828)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0548 #424805
analogous
#052148 #0B0548 #2C0548
triadic
#0B0548 #480B05 #05480B
tetradic
#0B0548 #480521 #424805 #05482C
square
#0B0548 #480521 #424805 #05482C
split-complementary
#0B0548 #482C05 #214805
monochromatic
#04021D #04021D #0B0548 #140981 #1C0DBA

Accessibility & contrast

On white

18.59
#0B0548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B0548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0548
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0548#FFFFFF#000000##FFFFFF
##0B05481.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00164A
Deuteranopia (green-blind)
#001047
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b0548;
/* rgb */ color: rgb(11, 5, 72);
/* oklch */ color: oklch(19.9% 0.115 273.1);
Tailwind
colors: {
  custom: {
    50: '#57477c',
    500: '#0b0548',
    950: '#000000',
  },
}
SCSS
$custom: #0b0548;
$custom-light: #57477c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0548",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 72
  },
  "hsl": {
    "h": 245.373,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.19904,
    "c": 0.11467,
    "h": 273.1
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#0B0548
secondary
#7F8821
accent
#FD2BEA
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0B0548

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

Preview Lab → · Contrast checker → · Palette generator →

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