#0B0D47#0B0D47

#0B0D47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.104 H 271.6°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#0B0D47
RGBrgb(11, 13, 71)
HSLhsl(238, 73%, 16%)
HSVhsv(238, 85%, 28%)
CMYKcmyk(84.5%, 81.7%, 0%, 72.2%)
CIE-LABlab(7.35, 22.46, -36.03)
CIE-LCHlch(7.35, 42.46, 301.95°)
OKLaboklab(21.06% 0.0029 -0.1044)
OKLCHoklch(21.06% 0.104 271.6)
XYZxyz(1.4189, 0.8138, 6.0423)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0D47 #47450B
analogous
#0B2B47 #0B0D47 #270B47
triadic
#0B0D47 #470B0D #0D470B
tetradic
#0B0D47 #470B2B #47450B #0B4727
square
#0B0D47 #470B2B #47450B #0B4727
split-complementary
#0B0D47 #47270B #2B470B
monochromatic
#04051A #04051A #0B0D47 #13177C #1B20B1

Accessibility & contrast

On white

18.06
#0B0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0D47
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0D47#FFFFFF#000000##FFFFFF
##0B0D471.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0d47;
/* rgb */ color: rgb(11, 13, 71);
/* oklch */ color: oklch(21.1% 0.104 271.6);
Tailwind
colors: {
  custom: {
    50: '#564c7b',
    500: '#0b0d47',
    950: '#000000',
  },
}
SCSS
$custom: #0b0d47;
$custom-light: #564c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0d47",
  "rgb": {
    "r": 11,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 238,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21063,
    "c": 0.10442,
    "h": 271.6
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#0B0D47
secondary
#83802A
accent
#EA38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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