#0B0948#0B0948

#0B0948 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.110 H 272.4°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#0B0948
RGBrgb(11, 9, 72)
HSLhsl(242, 78%, 16%)
HSVhsv(242, 88%, 28%)
CMYKcmyk(84.7%, 87.5%, 0%, 71.8%)
CIE-LABlab(6.63, 25.16, -37.91)
CIE-LCHlch(6.63, 45.50, 303.57°)
OKLaboklab(20.55% 0.0046 -0.1101)
OKLCHoklch(20.55% 0.11 272.4)
XYZxyz(1.4050, 0.7343, 6.1973)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0948 #464809
analogous
#092648 #0B0948 #2A0948
triadic
#0B0948 #480B09 #09480B
tetradic
#0B0948 #480926 #464809 #09482A
square
#0B0948 #480926 #464809 #09482A
split-complementary
#0B0948 #482A09 #264809
monochromatic
#04031B #04031B #0B0948 #13107E #1C17B5

Accessibility & contrast

On white

18.31
#0B0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0948
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0948#FFFFFF#000000##FFFFFF
##0B09481.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0948;
/* rgb */ color: rgb(11, 9, 72);
/* oklch */ color: oklch(20.5% 0.110 272.4);
Tailwind
colors: {
  custom: {
    50: '#574a7c',
    500: '#0b0948',
    950: '#000000',
  },
}
SCSS
$custom: #0b0948;
$custom-light: #574a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0948",
  "rgb": {
    "r": 11,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 241.905,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20545,
    "c": 0.11025,
    "h": 272.4
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#0B0948
secondary
#828527
accent
#F434EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0948

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

Preview Lab → · Contrast checker → · Palette generator →

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