#0B0748#0B0748

#0B0748 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.112 H 272.8°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#0B0748
RGBrgb(11, 7, 72)
HSLhsl(244, 82%, 15%)
HSVhsv(244, 90%, 28%)
CMYKcmyk(84.7%, 90.3%, 0%, 71.8%)
CIE-LABlab(6.24, 26.21, -38.56)
CIE-LCHlch(6.24, 46.63, 304.21°)
OKLaboklab(20.23% 0.0054 -0.1123)
OKLCHoklch(20.23% 0.112 272.8)
XYZxyz(1.3833, 0.6908, 6.1901)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0748 #444807
analogous
#072348 #0B0748 #2B0748
triadic
#0B0748 #480B07 #07480B
tetradic
#0B0748 #480723 #444807 #07482B
square
#0B0748 #480723 #444807 #07482B
split-complementary
#0B0748 #482B07 #234807
monochromatic
#04031C #04031C #0B0748 #140C80 #1C12B8

Accessibility & contrast

On white

18.45
#0B0748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B0748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0748
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0748#FFFFFF#000000##FFFFFF
##0B07481.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00174A
Deuteranopia (green-blind)
#001147
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0748;
/* rgb */ color: rgb(11, 7, 72);
/* oklch */ color: oklch(20.2% 0.112 272.8);
Tailwind
colors: {
  custom: {
    50: '#57497c',
    500: '#0b0748',
    950: '#000000',
  },
}
SCSS
$custom: #0b0748;
$custom-light: #57497c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0748",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 72
  },
  "hsl": {
    "h": 243.692,
    "s": 82.278,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20229,
    "c": 0.11242,
    "h": 272.8
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#0B0748
secondary
#818724
accent
#F92FEC
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0B0748

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

Preview Lab → · Contrast checker → · Palette generator →

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